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

org.wildfly.security.http.ElytronMessages_$logger Maven / Gradle / Ivy

There is a newer version: 2.4.1.Final
Show newest version
package org.wildfly.security.http;

import java.util.Locale;
import java.lang.IllegalStateException;
import java.io.Serializable;
import javax.annotation.Generated;
import org.jboss.logging.DelegatingBasicLogger;
import org.wildfly.security.http.HttpAuthenticationException;
import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;
import java.util.Arrays;
import java.lang.UnsupportedOperationException;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2022-01-12T15:10:25-0500")
public class ElytronMessages_$logger extends DelegatingBasicLogger implements ElytronMessages, BasicLogger, Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = ElytronMessages_$logger.class.getName();
    public ElytronMessages_$logger(final Logger log) {
        super(log);
    }
    private static final Locale LOCALE = Locale.ROOT;
    protected Locale getLoggingLocale() {
        return LOCALE;
    }
    protected String statusCodeNotNow$str() {
        return "ELY06000: Status code can not be set at this time.";
    }
    @Override
    public final IllegalStateException statusCodeNotNow() {
        final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), statusCodeNotNow$str()));
        _copyStackTraceMinusOne(result);
        return result;
    }
    private static void _copyStackTraceMinusOne(final Throwable e) {
        final StackTraceElement[] st = e.getStackTrace();
        e.setStackTrace(Arrays.copyOfRange(st, 1, st.length));
    }
    protected String noAttachmentSupport$str() {
        return "ELY06005: Attachments are not supported on this scope.";
    }
    @Override
    public final UnsupportedOperationException noAttachmentSupport() {
        final UnsupportedOperationException result = new UnsupportedOperationException(String.format(getLoggingLocale(), noAttachmentSupport$str()));
        _copyStackTraceMinusOne(result);
        return result;
    }
    protected String httpAuthenticationFailedEvaluatingRequest$str() {
        return "ELY06016: HTTP authentication failed validating request, no mechanisms remain to continue authentication.";
    }
    @Override
    public final org.wildfly.security.http.HttpAuthenticationException httpAuthenticationFailedEvaluatingRequest() {
        final org.wildfly.security.http.HttpAuthenticationException result = new org.wildfly.security.http.HttpAuthenticationException(String.format(getLoggingLocale(), httpAuthenticationFailedEvaluatingRequest$str()));
        _copyStackTraceMinusOne(result);
        return result;
    }
    protected String httpAuthenticationNoMechanisms$str() {
        return "ELY06017: HTTP authentication is required but no authentication mechansims are available.";
    }
    @Override
    public final org.wildfly.security.http.HttpAuthenticationException httpAuthenticationNoMechanisms() {
        final org.wildfly.security.http.HttpAuthenticationException result = new org.wildfly.security.http.HttpAuthenticationException(String.format(getLoggingLocale(), httpAuthenticationNoMechanisms$str()));
        _copyStackTraceMinusOne(result);
        return result;
    }
    protected String httpAuthenticationNoSuccessfulResponder$str() {
        return "ELY06018: HTTP authentication none of the responders successfuly sent a response.";
    }
    @Override
    public final org.wildfly.security.http.HttpAuthenticationException httpAuthenticationNoSuccessfulResponder() {
        final org.wildfly.security.http.HttpAuthenticationException result = new org.wildfly.security.http.HttpAuthenticationException(String.format(getLoggingLocale(), httpAuthenticationNoSuccessfulResponder$str()));
        _copyStackTraceMinusOne(result);
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy