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

org.jboss.weld.logging.UtilLogger_$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.weld.exceptions.WeldException;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.Logger;
import org.jboss.weld.logging.WeldLogger;
import org.jboss.logging.BasicLogger;
import java.lang.Throwable;
import java.lang.Object;
import org.jboss.weld.exceptions.DeploymentException;
import org.jboss.weld.exceptions.DefinitionException;
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 UtilLogger_$logger extends DelegatingBasicLogger implements UtilLogger,org.jboss.weld.logging.WeldLogger,BasicLogger,Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = UtilLogger_$logger.class.getName();
    public UtilLogger_$logger(final Logger log) {
        super(log);
    }
    private static final String classNotEnum = "WELD-000804: {0} is not an enum";
    protected String classNotEnum$str() {
        return classNotEnum;
    }
    @Override
    public final IllegalArgumentException classNotEnum(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(classNotEnum$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String tooManyPostConstructMethods = "WELD-000805: Cannot have more than one post construct method annotated with @PostConstruct for {0}";
    protected String tooManyPostConstructMethods$str() {
        return tooManyPostConstructMethods;
    }
    @Override
    public final DefinitionException tooManyPostConstructMethods(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(tooManyPostConstructMethods$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String tooManyPreDestroyMethods = "WELD-000806: Cannot have more than one pre destroy method annotated @PreDestroy for {0}";
    protected String tooManyPreDestroyMethods$str() {
        return tooManyPreDestroyMethods;
    }
    @Override
    public final DefinitionException tooManyPreDestroyMethods(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(tooManyPreDestroyMethods$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String initializerCannotBeProducer = "WELD-000807: Initializer method cannot be annotated @Produces {0}\n\tat {1}\n  StackTrace:";
    protected String initializerCannotBeProducer$str() {
        return initializerCannotBeProducer;
    }
    @Override
    public final DefinitionException initializerCannotBeProducer(final Object param1, final Object stackElement) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(initializerCannotBeProducer$str(), param1, stackElement));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String initializerCannotBeDisposalMethod = "WELD-000808: Initializer method cannot have parameters annotated @Disposes: {0}\n\tat {1}\n  StackTrace:";
    protected String initializerCannotBeDisposalMethod$str() {
        return initializerCannotBeDisposalMethod;
    }
    @Override
    public final DefinitionException initializerCannotBeDisposalMethod(final Object param1, final Object stackElement) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(initializerCannotBeDisposalMethod$str(), param1, stackElement));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String qualifierOnFinalField = "WELD-000810: Cannot place qualifiers on final fields:  {0}";
    protected String qualifierOnFinalField$str() {
        return qualifierOnFinalField;
    }
    @Override
    public final DefinitionException qualifierOnFinalField(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(qualifierOnFinalField$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String ambiguousConstructor = "WELD-000812: Cannot determine constructor to use for {0}. Possible constructors {1}";
    protected String ambiguousConstructor$str() {
        return ambiguousConstructor;
    }
    @Override
    public final DefinitionException ambiguousConstructor(final Object param1, final Object param2) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(ambiguousConstructor$str(), param1, param2));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String invalidQuantityInjectableFieldsAndInitializerMethods = "WELD-000813: injectableFields and initializerMethods must have the same size.\n\nInjectable Fields:  {0}\nInitializerMethods:  {1}";
    protected String invalidQuantityInjectableFieldsAndInitializerMethods$str() {
        return invalidQuantityInjectableFieldsAndInitializerMethods;
    }
    @Override
    public final IllegalArgumentException invalidQuantityInjectableFieldsAndInitializerMethods(final Object param1, final Object param2) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(invalidQuantityInjectableFieldsAndInitializerMethods$str(), param1, param2));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String annotationNotQualifier = "WELD-000814: Annotation {0} is not a qualifier";
    protected String annotationNotQualifier$str() {
        return annotationNotQualifier;
    }
    @Override
    public final IllegalArgumentException annotationNotQualifier(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(annotationNotQualifier$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String redundantQualifier = "WELD-000815: Qualifier {0} is already present in the set {1}";
    protected String redundantQualifier$str() {
        return redundantQualifier;
    }
    @Override
    public final IllegalArgumentException redundantQualifier(final Object param1, final Object param2) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(redundantQualifier$str(), param1, param2));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String unableToFindConstructor = "WELD-000816: Cannot determine constructor to use for {0}";
    protected String unableToFindConstructor$str() {
        return unableToFindConstructor;
    }
    @Override
    public final DefinitionException unableToFindConstructor(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(unableToFindConstructor$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String unableToFindBeanDeploymentArchive = "WELD-000817: Unable to find Bean Deployment Archive for {0}";
    protected String unableToFindBeanDeploymentArchive$str() {
        return unableToFindBeanDeploymentArchive;
    }
    @Override
    public final IllegalStateException unableToFindBeanDeploymentArchive(final Object param1) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(unableToFindBeanDeploymentArchive$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String eventTypeNotAllowed = "WELD-000818: Event type {0} is not allowed";
    protected String eventTypeNotAllowed$str() {
        return eventTypeNotAllowed;
    }
    @Override
    public final IllegalArgumentException eventTypeNotAllowed(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(eventTypeNotAllowed$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String typeParameterNotAllowedInEventType = "WELD-000819: Cannot provide an event type parameterized with a type parameter {0}";
    protected String typeParameterNotAllowedInEventType$str() {
        return typeParameterNotAllowedInEventType;
    }
    @Override
    public final IllegalArgumentException typeParameterNotAllowedInEventType(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(typeParameterNotAllowedInEventType$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String cannotProxyNonClassType = "WELD-000820: Cannot proxy non-Class Type {0}";
    protected String cannotProxyNonClassType$str() {
        return cannotProxyNonClassType;
    }
    @Override
    public final IllegalArgumentException cannotProxyNonClassType(final Object param1) {
        final IllegalArgumentException result = new IllegalArgumentException(java.text.MessageFormat.format(cannotProxyNonClassType$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String accessErrorOnField = "WELD-000824: Error getting field {0} on {1}";
    protected String accessErrorOnField$str() {
        return accessErrorOnField;
    }
    @Override
    public final WeldException accessErrorOnField(final Object param1, final Object param2, final Throwable cause) {
        final WeldException result = new WeldException(java.text.MessageFormat.format(accessErrorOnField$str(), param1, param2), cause);
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String annotationValuesInaccessible = "WELD-000826: Cannot access values() on annotation";
    protected String annotationValuesInaccessible$str() {
        return annotationValuesInaccessible;
    }
    @Override
    public final DeploymentException annotationValuesInaccessible(final Throwable cause) {
        final DeploymentException result = new DeploymentException(String.format(annotationValuesInaccessible$str()), cause);
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String initializerMethodIsGeneric = "WELD-000827: Initializer method may not be a generic method: {0}\n\tat {1}\n  StackTrace:";
    protected String initializerMethodIsGeneric$str() {
        return initializerMethodIsGeneric;
    }
    @Override
    public final DefinitionException initializerMethodIsGeneric(final Object param1, final Object param2) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(initializerMethodIsGeneric$str(), param1, param2));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String resourceSetterInjectionNotAJavabean = "WELD-000833: Resource injection point represents a method which doesn't follow JavaBean conventions {0}";
    protected String resourceSetterInjectionNotAJavabean$str() {
        return resourceSetterInjectionNotAJavabean;
    }
    @Override
    public final DefinitionException resourceSetterInjectionNotAJavabean(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(resourceSetterInjectionNotAJavabean$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    @Override
    public final void unableToInjectResource(final Object member, final Object stackElement) {
        super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, unableToInjectResource$str(), member, stackElement);
    }
    private static final String unableToInjectResource = "WELD-000834: Unable to inject resource - most probably incorrect InjectionServices SPI implementation: {0}\n\tat {1}";
    protected String unableToInjectResource$str() {
        return unableToInjectResource;
    }
    @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