org.wildfly.security.permission.SecurityMessages_$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.permission;
import java.util.Locale;
import java.io.Serializable;
import javax.annotation.Generated;
import java.lang.String;
import org.jboss.logging.Logger;
import java.util.Arrays;
import java.lang.IllegalArgumentException;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2024-08-29T11:44:59-0400")
public class SecurityMessages_$logger implements SecurityMessages, Serializable {
private static final long serialVersionUID = 1L;
private static final String FQCN = SecurityMessages_$logger.class.getName();
public SecurityMessages_$logger(final Logger log) {
this.log = log;
}
protected final Logger log;
private static final Locale LOCALE = Locale.ROOT;
protected Locale getLoggingLocale() {
return LOCALE;
}
protected String unexpectedActionCharacter$str() {
return "WFSM000004: Unexpected character '%s' at offset %d of '%s'";
}
@Override
public final IllegalArgumentException unexpectedActionCharacter(final char ch, final int offset, final String actionString) {
final IllegalArgumentException result = new IllegalArgumentException(String.format(getLoggingLocale(), unexpectedActionCharacter$str(), ch, offset, actionString));
_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 invalidAction$str() {
return "WFSM000005: Invalid action '%s' at offset %d of '%s'";
}
@Override
public final IllegalArgumentException invalidAction(final String action, final int offset, final String actionString) {
final IllegalArgumentException result = new IllegalArgumentException(String.format(getLoggingLocale(), invalidAction$str(), action, offset, actionString));
_copyStackTraceMinusOne(result);
return result;
}
}