All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.weld.logging.BeanManagerLogger_$logger Maven / Gradle / Ivy

There is a newer version: 3.0.0.Alpha1
Show newest version
package org.jboss.weld.logging;

import org.jboss.weld.exceptions.IllegalStateException;
import java.io.Serializable;
import javax.annotation.Generated;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.weld.exceptions.UnsatisfiedResolutionException;
import java.lang.String;
import org.jboss.logging.Logger;
import org.jboss.weld.logging.WeldLogger;
import org.jboss.logging.BasicLogger;
import org.jboss.weld.context.ContextNotActiveException;
import org.jboss.weld.exceptions.AmbiguousResolutionException;
import java.lang.Throwable;
import javax.naming.NamingException;
import java.lang.Object;
import java.util.Arrays;
import org.jboss.weld.exceptions.IllegalArgumentException;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2017-04-05T13:32:43+0200")
public class BeanManagerLogger_$logger extends DelegatingBasicLogger implements BeanManagerLogger,org.jboss.weld.logging.WeldLogger,BasicLogger,Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = BeanManagerLogger_$logger.class.getName();
    public BeanManagerLogger_$logger(final Logger log) {
        super(log);
    }
    private static final String cannotLocateBeanManager = "WELD-001300: Unable to locate BeanManager";
    protected String cannotLocateBeanManager$str() {
        return cannotLocateBeanManager;
    }
    @Override
    public final NamingException cannotLocateBeanManager() {
        final NamingException result = new NamingException(String.format(cannotLocateBeanManager$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String invalidQualifier = "WELD-001301: Annotation {0} is not a qualifier";
    protected String invalidQualifier$str() {
        return invalidQualifier;
    }
    @Override
    public final IllegalArgumentException invalidQualifier(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(invalidQualifier$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String duplicateQualifiers = "WELD-001302: Duplicate qualifiers:  {0}";
    protected String duplicateQualifiers$str() {
        return duplicateQualifiers;
    }
    @Override
    public final IllegalArgumentException duplicateQualifiers(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(duplicateQualifiers$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String contextNotActive = "WELD-001303: No active contexts for scope type {0}";
    protected String contextNotActive$str() {
        return contextNotActive;
    }
    @Override
    public final ContextNotActiveException contextNotActive(final Object param1) {
        final ContextNotActiveException result = new ContextNotActiveException(java.text.MessageFormat.format(contextNotActive$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String duplicateActiveContexts = "WELD-001304: More than one context active for scope type {0}";
    protected String duplicateActiveContexts$str() {
        return duplicateActiveContexts;
    }
    @Override
    public final IllegalStateException duplicateActiveContexts(final Object param1) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(duplicateActiveContexts$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String specifiedTypeNotBeanType = "WELD-001305: The given type {0} is not a type of the bean {1}";
    protected String specifiedTypeNotBeanType$str() {
        return specifiedTypeNotBeanType;
    }
    @Override
    public final IllegalArgumentException specifiedTypeNotBeanType(final Object param1, final Object param2) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(specifiedTypeNotBeanType$str(), param1, param2));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String unresolvableType = "WELD-001307: Unable to resolve any beans of type {0} with qualifiers {1}";
    protected String unresolvableType$str() {
        return unresolvableType;
    }
    @Override
    public final UnsatisfiedResolutionException unresolvableType(final Object param1, final Object param2) {
        final UnsatisfiedResolutionException result = new UnsatisfiedResolutionException(java.text.MessageFormat.format(unresolvableType$str(), param1, param2));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String unresolvableElement = "WELD-001308: Unable to resolve any beans for {0}";
    protected String unresolvableElement$str() {
        return unresolvableElement;
    }
    @Override
    public final UnsatisfiedResolutionException unresolvableElement(final Object param1) {
        final UnsatisfiedResolutionException result = new UnsatisfiedResolutionException(java.text.MessageFormat.format(unresolvableElement$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String noDecoratorTypes = "WELD-001310: No decorator types were specified in the set";
    protected String noDecoratorTypes$str() {
        return noDecoratorTypes;
    }
    @Override
    public final IllegalArgumentException noDecoratorTypes() {
        final IllegalArgumentException result = new IllegalArgumentException(String.format(noDecoratorTypes$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String interceptorBindingsEmpty = "WELD-001311: Interceptor bindings list cannot be empty";
    protected String interceptorBindingsEmpty$str() {
        return interceptorBindingsEmpty;
    }
    @Override
    public final IllegalArgumentException interceptorBindingsEmpty() {
        final IllegalArgumentException result = new IllegalArgumentException(String.format(interceptorBindingsEmpty$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String duplicateInterceptorBinding = "WELD-001312: Duplicate interceptor binding type {0} found";
    protected String duplicateInterceptorBinding$str() {
        return duplicateInterceptorBinding;
    }
    @Override
    public final IllegalArgumentException duplicateInterceptorBinding(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(duplicateInterceptorBinding$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String interceptorResolutionWithNonbindingType = "WELD-001313: Trying to resolve interceptors with non-binding type {0}";
    protected String interceptorResolutionWithNonbindingType$str() {
        return interceptorResolutionWithNonbindingType;
    }
    @Override
    public final IllegalArgumentException interceptorResolutionWithNonbindingType(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(interceptorResolutionWithNonbindingType$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String nonNormalScope = "WELD-001314: {0} is expected to be a normal scope type";
    protected String nonNormalScope$str() {
        return nonNormalScope;
    }
    @Override
    public final String nonNormalScope(final Object param1) {
        return java.text.MessageFormat.format(nonNormalScope$str(), param1);
    }
    private static final String tooManyActivities = "WELD-001315: More than one current activity for an active context:  {0}";
    protected String tooManyActivities$str() {
        return tooManyActivities;
    }
    @Override
    public final IllegalStateException tooManyActivities(final Object param1) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(tooManyActivities$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String notInterceptorBindingType = "WELD-001316: {0} is not an interceptor binding type";
    protected String notInterceptorBindingType$str() {
        return notInterceptorBindingType;
    }
    @Override
    public final IllegalArgumentException notInterceptorBindingType(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(notInterceptorBindingType$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String notStereotype = "WELD-001317: {0} is not a stereotype";
    protected String notStereotype$str() {
        return notStereotype;
    }
    @Override
    public final IllegalArgumentException notStereotype(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(notStereotype$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String ambiguousBeansForDependency = "WELD-001318: Cannot resolve an ambiguous dependency between: {0}";
    protected String ambiguousBeansForDependency$str() {
        return ambiguousBeansForDependency;
    }
    @Override
    public final AmbiguousResolutionException ambiguousBeansForDependency(final Object param1) {
        final AmbiguousResolutionException result = new AmbiguousResolutionException(java.text.MessageFormat.format(ambiguousBeansForDependency$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String nullBeanManagerId = "WELD-001319: Bean manager ID must not be null";
    protected String nullBeanManagerId$str() {
        return nullBeanManagerId;
    }
    @Override
    public final IllegalArgumentException nullBeanManagerId() {
        final IllegalArgumentException result = new IllegalArgumentException(String.format(nullBeanManagerId$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String noInstanceOfExtension = "WELD-001325: No instance of an extension {0} registered with the deployment";
    protected String noInstanceOfExtension$str() {
        return noInstanceOfExtension;
    }
    @Override
    public final IllegalArgumentException noInstanceOfExtension(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(noInstanceOfExtension$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String cannotCreateBeanAttributesForIncorrectAnnotatedMember = "WELD-001326: Cannot create bean attributes - the argument must be either an AnnotatedField or AnnotatedMethod but {0} is not";
    protected String cannotCreateBeanAttributesForIncorrectAnnotatedMember$str() {
        return cannotCreateBeanAttributesForIncorrectAnnotatedMember;
    }
    @Override
    public final IllegalArgumentException cannotCreateBeanAttributesForIncorrectAnnotatedMember(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(cannotCreateBeanAttributesForIncorrectAnnotatedMember$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String ambiguousBeanManager = "WELD-001327: Unable to identify the correct BeanManager. The calling class {0} is placed in multiple bean archives";
    protected String ambiguousBeanManager$str() {
        return ambiguousBeanManager;
    }
    @Override
    public final IllegalStateException ambiguousBeanManager(final Object param1) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(ambiguousBeanManager$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String unsatisfiedBeanManager = "WELD-001328: Unable to identify the correct BeanManager. The calling class {0} is not placed in bean archive";
    protected String unsatisfiedBeanManager$str() {
        return unsatisfiedBeanManager;
    }
    @Override
    public final IllegalStateException unsatisfiedBeanManager(final Object param1) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(unsatisfiedBeanManager$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String unableToIdentifyBeanManager = "WELD-001329: Unable to identify the correct BeanManager";
    protected String unableToIdentifyBeanManager$str() {
        return unableToIdentifyBeanManager;
    }
    @Override
    public final IllegalStateException unableToIdentifyBeanManager() {
        final IllegalStateException result = new IllegalStateException(String.format(unableToIdentifyBeanManager$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String beanManagerNotAvailable = "WELD-001330: BeanManager is not available.";
    protected String beanManagerNotAvailable$str() {
        return beanManagerNotAvailable;
    }
    @Override
    public final IllegalStateException beanManagerNotAvailable() {
        final IllegalStateException result = new IllegalStateException(String.format(beanManagerNotAvailable$str()));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String nullDeclaringBean = "WELD-001331: Declaring bean cannot be null for the non-static member {0}";
    protected String nullDeclaringBean$str() {
        return nullDeclaringBean;
    }
    @Override
    public final IllegalArgumentException nullDeclaringBean(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(nullDeclaringBean$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String methodNotAvailableDuringInitialization = "WELD-001332: BeanManager method {0} is not available during application initialization. Container state: {1}";
    protected String methodNotAvailableDuringInitialization$str() {
        return methodNotAvailableDuringInitialization;
    }
    @Override
    public final IllegalStateException methodNotAvailableDuringInitialization(final Object param1, final Object state) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(methodNotAvailableDuringInitialization$str(), param1, state));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String methodNotAvailableAfterShutdown = "WELD-001333: BeanManager method {0} is not available after shutdown";
    protected String methodNotAvailableAfterShutdown$str() {
        return methodNotAvailableAfterShutdown;
    }
    @Override
    public final IllegalStateException methodNotAvailableAfterShutdown(final Object param1) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(methodNotAvailableAfterShutdown$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String injectionPointHasUnsatisfiedDependencies = "WELD-001334: Unsatisfied dependencies for type {1} with qualifiers {0} {2}";
    protected String injectionPointHasUnsatisfiedDependencies$str() {
        return injectionPointHasUnsatisfiedDependencies;
    }
    @Override
    public final UnsatisfiedResolutionException injectionPointHasUnsatisfiedDependencies(final Object param1, final Object param2, final Object param3) {
        final UnsatisfiedResolutionException result = new UnsatisfiedResolutionException(java.text.MessageFormat.format(injectionPointHasUnsatisfiedDependencies$str(), param1, param2, param3));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String injectionPointHasAmbiguousDependencies = "WELD-001335: Ambiguous dependencies for type {1} with qualifiers {0}\n Possible dependencies: {2}";
    protected String injectionPointHasAmbiguousDependencies$str() {
        return injectionPointHasAmbiguousDependencies;
    }
    @Override
    public final AmbiguousResolutionException injectionPointHasAmbiguousDependencies(final Object param1, final Object param2, final Object param3) {
        final AmbiguousResolutionException result = new AmbiguousResolutionException(java.text.MessageFormat.format(injectionPointHasAmbiguousDependencies$str(), param1, param2, param3));
        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 - 2024 Weber Informatics LLC | Privacy Policy