org.wildfly.security.dynamic.ssl.ElytronMessages_$logger Maven / Gradle / Ivy
The newest version!
package org.wildfly.security.dynamic.ssl;
import java.util.Locale;
import java.lang.IllegalStateException;
import java.io.Serializable;
import javax.annotation.Generated;
import org.wildfly.security.dynamic.ssl.DynamicSSLContextException;
import org.jboss.logging.DelegatingBasicLogger;
import org.jboss.logging.BasicLogger;
import java.lang.Throwable;
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-09-20T10:46:49-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 dynamicSSLContextCreatesLoop$str() {
return "ELY21000: DynamicSSLContext creates loop";
}
@Override
public final IllegalStateException dynamicSSLContextCreatesLoop() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), dynamicSSLContextCreatesLoop$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 receivedSSLContextFromDynamicSSLContextProviderWasNull$str() {
return "ELY21001: Received SSLContext from DynamicSSLContextProvider was null";
}
@Override
public final IllegalStateException receivedSSLContextFromDynamicSSLContextProviderWasNull() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), receivedSSLContextFromDynamicSSLContextProviderWasNull$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String dynamicSSLContextDoesNotSupportSessions$str() {
return "ELY21002: Dynamic SSLContext does not support sessions";
}
@Override
public final UnsupportedOperationException dynamicSSLContextDoesNotSupportSessions() {
final UnsupportedOperationException result = new UnsupportedOperationException(String.format(getLoggingLocale(), dynamicSSLContextDoesNotSupportSessions$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String unableToGetConfiguredSSLContexts$str() {
return "ELY21003: Provider for DynamicSSLContextSPI threw an exception when getting configured SSLContexts";
}
@Override
public final IllegalStateException unableToGetConfiguredSSLContexts() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), unableToGetConfiguredSSLContexts$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String configuredSSLContextsAreNull$str() {
return "ELY21004: Provider for DynamicSSLContextSPI returned null configured SSLContexts";
}
@Override
public final IllegalStateException configuredSSLContextsAreNull() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), configuredSSLContextsAreNull$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String cannotObtainConfiguredDefaultSSLContext$str() {
return "ELY21005: Cannot obtain default SSLContext from DynamicSSLContext implementation";
}
@Override
public final IllegalStateException cannotObtainConfiguredDefaultSSLContext() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), cannotObtainConfiguredDefaultSSLContext$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String couldNotCreateURI$str() {
return "ELY21006: Could not create URI from host and port";
}
@Override
public final IllegalStateException couldNotCreateURI() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), couldNotCreateURI$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String couldNotCreateDynamicSSLContextEngine$str() {
return "ELY21007: Could not create dynamic ssl context engine";
}
@Override
public final IllegalStateException couldNotCreateDynamicSSLContextEngine() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), couldNotCreateDynamicSSLContextEngine$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String configuredSSLContextIsNull$str() {
return "ELY21008: Provider for DynamicSSLContextSPI returned null SSLContext";
}
@Override
public final IllegalStateException configuredSSLContextIsNull() {
final IllegalStateException result = new IllegalStateException(String.format(getLoggingLocale(), configuredSSLContextIsNull$str()));
_copyStackTraceMinusOne(result);
return result;
}
protected String cannotObtainDefaultSSLContext$str() {
return "ELY21009: Obtaining of the default SSLContext from current authentication context resulted in exception.";
}
@Override
public final org.wildfly.security.dynamic.ssl.DynamicSSLContextException cannotObtainDefaultSSLContext(final Throwable cause) {
final org.wildfly.security.dynamic.ssl.DynamicSSLContextException result = new org.wildfly.security.dynamic.ssl.DynamicSSLContextException(String.format(getLoggingLocale(), cannotObtainDefaultSSLContext$str()), cause);
_copyStackTraceMinusOne(result);
return result;
}
protected String cannotObtainConfiguredSSLContexts$str() {
return "ELY21010: Obtaining of all configured SSLContexts from current authentication context resulted in exception.";
}
@Override
public final org.wildfly.security.dynamic.ssl.DynamicSSLContextException cannotObtainConfiguredSSLContexts(final Throwable cause) {
final org.wildfly.security.dynamic.ssl.DynamicSSLContextException result = new org.wildfly.security.dynamic.ssl.DynamicSSLContextException(String.format(getLoggingLocale(), cannotObtainConfiguredSSLContexts$str()), cause);
_copyStackTraceMinusOne(result);
return result;
}
protected String cannotObtainSSLContextForGivenURI$str() {
return "ELY21011: Obtaining of the SSLContext from current authentication context and provided URI resulted in exception.";
}
@Override
public final org.wildfly.security.dynamic.ssl.DynamicSSLContextException cannotObtainSSLContextForGivenURI(final Throwable cause) {
final org.wildfly.security.dynamic.ssl.DynamicSSLContextException result = new org.wildfly.security.dynamic.ssl.DynamicSSLContextException(String.format(getLoggingLocale(), cannotObtainSSLContextForGivenURI$str()), cause);
_copyStackTraceMinusOne(result);
return result;
}
}