org.jboss.weld.logging.ResolutionLogger_$logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-servlet-shaded Show documentation
Show all versions of weld-servlet-shaded Show documentation
This jar bundles all the bits of Weld and CDI required for running in a Servlet container.
package org.jboss.weld.logging;
import java.io.Serializable;
import javax.annotation.Generated;
import org.jboss.weld.exceptions.WeldException;
import org.jboss.weld.logging.WeldLogger;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.Throwable;
import java.lang.Object;
import org.jboss.logging.Logger;
import java.util.Arrays;
import java.lang.IllegalArgumentException;
import java.lang.Exception;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2018-11-27T10:11:32+0100")
public class ResolutionLogger_$logger extends DelegatingBasicLogger implements ResolutionLogger,org.jboss.weld.logging.WeldLogger,BasicLogger,Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = ResolutionLogger_$logger.class.getName();
public ResolutionLogger_$logger(final Logger log) {
super(log);
}
private static final String cannotExtractRawType = "WELD-001601: Cannot extract rawType from {0}";
protected String cannotExtractRawType$str() {
return cannotExtractRawType;
}
@Override
public final IllegalArgumentException cannotExtractRawType(final Object param1) {
final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(cannotExtractRawType$str(), param1));
final StackTraceElement[] st = result.getStackTrace();
result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
return result;
}
private static final String cannotCreateQualifierInstanceValues = "WELD-001602: Cannot create qualifier instance model for {0}\n\tat {1}\n StackTrace:";
protected String cannotCreateQualifierInstanceValues$str() {
return cannotCreateQualifierInstanceValues;
}
@Override
public final WeldException cannotCreateQualifierInstanceValues(final Object annotation, final Object stackElement, final Exception cause) {
final WeldException result = new WeldException(java.text.MessageFormat.format(cannotCreateQualifierInstanceValues$str(), annotation, stackElement), cause);
final StackTraceElement[] st = result.getStackTrace();
result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
return result;
}
@Override
public final void catchingDebug(final Throwable throwable) {
super.log.logf(FQCN, org.jboss.logging.Logger.Level.DEBUG, throwable, catchingDebug$str());
}
private static final String catchingDebug = "Catching";
protected String catchingDebug$str() {
return catchingDebug;
}
}