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

org.jboss.weld.logging.XmlLogger_$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.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.DefinitionException;
import org.jboss.logging.Logger;
import java.util.Arrays;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2017-04-05T13:32:42+0200")
public class XmlLogger_$logger extends DelegatingBasicLogger implements XmlLogger,org.jboss.weld.logging.WeldLogger,BasicLogger,Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = XmlLogger_$logger.class.getName();
    public XmlLogger_$logger(final Logger log) {
        super(log);
    }
    private static final String configurationError = "WELD-001200: Error configuring XML parser";
    protected String configurationError$str() {
        return configurationError;
    }
    @Override
    public final IllegalStateException configurationError(final Throwable cause) {
        final IllegalStateException result = new IllegalStateException(String.format(configurationError$str()), cause);
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String loadError = "WELD-001201: Error loading beans.xml {0}";
    protected String loadError$str() {
        return loadError;
    }
    @Override
    public final IllegalStateException loadError(final Object param1, final Throwable cause) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(loadError$str(), param1), cause);
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String parsingError = "WELD-001202: Error parsing {0}";
    protected String parsingError$str() {
        return parsingError;
    }
    @Override
    public final IllegalStateException parsingError(final Object param1, final Throwable cause) {
        final IllegalStateException result = new IllegalStateException(java.text.MessageFormat.format(parsingError$str(), param1), cause);
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String multipleAlternatives = "WELD-001203:  can only be specified once, but appears multiple times:  {0}";
    protected String multipleAlternatives$str() {
        return multipleAlternatives;
    }
    @Override
    public final DefinitionException multipleAlternatives(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(multipleAlternatives$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String multipleDecorators = "WELD-001204:  can only be specified once, but is specified multiple times:  {0}";
    protected String multipleDecorators$str() {
        return multipleDecorators;
    }
    @Override
    public final DefinitionException multipleDecorators(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(multipleDecorators$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String multipleInterceptors = "WELD-001205:  can only be specified once, but it is specified multiple times:  {0}";
    protected String multipleInterceptors$str() {
        return multipleInterceptors;
    }
    @Override
    public final DefinitionException multipleInterceptors(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(multipleInterceptors$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    private static final String multipleScanning = "WELD-001207:  can only be specified once, but it is specified multiple times:  {0}";
    protected String multipleScanning$str() {
        return multipleScanning;
    }
    @Override
    public final DefinitionException multipleScanning(final Object param1) {
        final DefinitionException result = new DefinitionException(java.text.MessageFormat.format(multipleScanning$str(), param1));
        final StackTraceElement[] st = result.getStackTrace();
        result.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
        return result;
    }
    @Override
    public final void xsdValidationError(final Object param1, final Object param2, final Object param3) {
        super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, xsdValidationError$str(), param1, param2, param3);
    }
    private static final String xsdValidationError = "WELD-001208: Error when validating {0}@{1} against xsd. {2}";
    protected String xsdValidationError$str() {
        return xsdValidationError;
    }
    @Override
    public final void xsdValidationWarning(final Object param1, final Object param2, final Object param3) {
        super.log.logv(FQCN, org.jboss.logging.Logger.Level.WARN, null, xsdValidationWarning$str(), param1, param2, param3);
    }
    private static final String xsdValidationWarning = "WELD-001210: Warning when validating {0}@{1} against xsd. {2}";
    protected String xsdValidationWarning$str() {
        return xsdValidationWarning;
    }
    @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