org.wildfly.security.http.ElytronMessages_$logger Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
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 = "2024-08-29T11:46:48-0400")
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;
}
}