| java.lang.Object com.sun.xml.ws.rm.jaxws.util.LoggingHelper
LoggingHelper | public class LoggingHelper (Code) | | Helper methods for logging.
|
getLoggerName | public static String getLoggerName(Class clasz)(Code) | | Forms a logger name by replacing "com.sun.xml.ws" in the name
of the specified class by "javax.enterprise.xml.webservices"
Parameters: clasz - The Class to use for forming the logger name The logger name |
throwAndLog | public void throwAndLog(Class<T> exceptionClass, Level level, String message, boolean stackTrace) throws T(Code) | | Throws an Exception of a given type with a given message. A log
entry logged at the specified level with the same message is also
written
Parameters: exceptionClass - The type of exception to throw Parameters: level - The logging level to use Parameters: message - The message in the Exception and log entry Parameters: stackTrace - If true, the stack trace for the exception is logged.. If falsethe stackTrace is not logged. throws: An - instance of the exceptionClass argument |
throwAndLog | public void throwAndLog(Class<T> exceptionClass, Level level, String message) throws T(Code) | | Same as throwAndLog(Class, Level, String, boolean) with last argument
set to true.
|
|
|