Package org.glassfish.pfl.basic.logex
Annotation Type ExceptionWrapper
This annotation is applied to an interface or abstract class that is used
to define methods for logging and/or constructing exceptions.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReturn the logger name to be used for all logged messages generated from the class.Return the name of the ResourceBundle to use for I18N support for exceptions in this class.
-
Element Details
-
idPrefix
String idPrefixReturn the prefix used in front of the numeric exception ID in the formatter exception message. For example, CORBA uses IIOP for this purpose.- Returns:
- The log messaged ID prefix
-
loggerName
String loggerNameReturn the logger name to be used for all logged messages generated from the class. Default is the package in which the class is defined.- Returns:
- The logger name.
- Default:
""
-
resourceBundle
String resourceBundleReturn the name of the ResourceBundle to use for I18N support for exceptions in this class.- Returns:
- The bundle name.
- Default:
""
-