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