public abstract static class WrapperGenerator.ExtensionBase extends java.lang.Object implements WrapperGenerator.Extension
| Constructor and Description |
|---|
ExtensionBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLoggerName(java.lang.Class<?> cls)
Modify the default logger name if needed.
|
java.lang.String |
getLogId(java.lang.reflect.Method method)
Get a message id for this log.
|
java.lang.Throwable |
makeException(java.lang.String msg,
java.lang.reflect.Method method)
Construct an exception from the message and the exception type.
|
public java.lang.String getLogId(java.lang.reflect.Method method)
WrapperGenerator.ExtensiongetLogId in interface WrapperGenerator.Extensionmethod - The method defining this log.public java.lang.Throwable makeException(java.lang.String msg,
java.lang.reflect.Method method)
WrapperGenerator.ExtensionmakeException in interface WrapperGenerator.Extensionmsg - The message to use in the exception.method - The method creating the exception.public java.lang.String getLoggerName(java.lang.Class<?> cls)
WrapperGenerator.ExtensiongetLoggerName in interface WrapperGenerator.Extensioncls - The standard logger name