
org.jboss.weld.logging.InterceptorLogger_$logger Maven / Gradle / Ivy
package org.jboss.weld.logging;
import java.io.Serializable;
import javax.annotation.Generated;
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.weld.exceptions.CreationException;
import org.jboss.weld.exceptions.DefinitionException;
import org.jboss.logging.Logger;
import java.util.Arrays;
import java.lang.IllegalArgumentException;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2018-03-20T08:53:39+0100")
public class InterceptorLogger_$logger extends DelegatingBasicLogger implements InterceptorLogger,org.jboss.weld.logging.WeldLogger,BasicLogger,Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = InterceptorLogger_$logger.class.getName();
public InterceptorLogger_$logger(final Logger log) {
super(log);
}
@Override
public final void interceptorAnnotationClassNotFound(final Object param1) {
super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, interceptorAnnotationClassNotFound$str(), param1);
}
private static final String interceptorAnnotationClassNotFound = "WELD-001700: Interceptor annotation class {0} not found, interception based on it is not enabled";
protected String interceptorAnnotationClassNotFound$str() {
return interceptorAnnotationClassNotFound;
}
@Override
public final void invokingNextInterceptorInChain(final Object param1) {
super.log.logv(FQCN, org.jboss.logging.Logger.Level.TRACE, null, invokingNextInterceptorInChain$str(), param1);
}
private static final String invokingNextInterceptorInChain = "WELD-001701: Invoking next interceptor in chain: {0}";
protected String invokingNextInterceptorInChain$str() {
return invokingNextInterceptorInChain;
}
private static final String nullInterceptorBindings = "WELD-001702: Interceptor.getInterceptorBindings() returned null for {0}";
protected String nullInterceptorBindings$str() {
return nullInterceptorBindings;
}
@Override
public final DefinitionException nullInterceptorBindings(final Object param1) {
final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(nullInterceptorBindings$str(), param1));
final StackTraceElement[] st = result.getStackTrace();
result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
return result;
}
@Override
public final void unableToDetermineInterceptedBean(final Object injectionPoint) {
super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, unableToDetermineInterceptedBean$str(), injectionPoint);
}
private static final String unableToDetermineInterceptedBean = "WELD-001703: Unable to determine the @Intercepted Bean> for {0}";
protected String unableToDetermineInterceptedBean$str() {
return unableToDetermineInterceptedBean;
}
private static final String interceptedBeanCanOnlyBeInjectedIntoInterceptor = "WELD-001704: @Intercepted Bean> can only be injected into an interceptor: {0}";
protected String interceptedBeanCanOnlyBeInjectedIntoInterceptor$str() {
return interceptedBeanCanOnlyBeInjectedIntoInterceptor;
}
@Override
public final IllegalArgumentException interceptedBeanCanOnlyBeInjectedIntoInterceptor(final Object injectionPoint) {
final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(interceptedBeanCanOnlyBeInjectedIntoInterceptor$str(), injectionPoint));
final StackTraceElement[] st = result.getStackTrace();
result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
return result;
}
private static final String targetInstanceNotCreated = "WELD-001705: Target instance not created - one of the interceptor methods in the AroundConstruct chain did not invoke InvocationContext.proceed() for: {0}";
protected String targetInstanceNotCreated$str() {
return targetInstanceNotCreated;
}
@Override
public final CreationException targetInstanceNotCreated(final Object constructor) {
final CreationException result = new CreationException(java.text.MessageFormat.format(targetInstanceNotCreated$str(), constructor));
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy