Package ca.phon.util
Class StackTraceInfo
java.lang.Object
java.lang.Throwable
java.lang.Exception
ca.phon.util.StackTraceInfo
- All Implemented Interfaces:
Serializable
A
Throwable
that's used for passing stack trace
info to the logger.
E.g.,
java.util.logging.org.apache.logging.log4j.Logger LOGGER = org.apache.logging.log4j.LogManager.getLogger(getClass().getName());
LOGGER.log(Level.INFO, "Hello world", new StackTraceInfo());
- See Also:
-
Constructor Summary
ConstructorDescriptionStackTraceInfo
(String message) StackTraceInfo
(String message, Throwable cause) StackTraceInfo
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StackTraceInfo
public StackTraceInfo() -
StackTraceInfo
-
StackTraceInfo
-
StackTraceInfo
-