Package ca.phon.util

Class StackTraceInfo

All Implemented Interfaces:
Serializable

public class StackTraceInfo extends Exception
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 Details

    • StackTraceInfo

      public StackTraceInfo()
    • StackTraceInfo

      public StackTraceInfo(String message, Throwable cause)
    • StackTraceInfo

      public StackTraceInfo(String message)
    • StackTraceInfo

      public StackTraceInfo(Throwable cause)