Package jadex.commons

Class DebugException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DebugException
    extends java.lang.RuntimeException
    Helper class to remember stack traces. Prints out a warning, when used.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.ThreadLocal<java.lang.Exception> ADDITIONAL
      Additional debug exception on current thread to use as cause.
    • Constructor Summary

      Constructors 
      Constructor Description
      DebugException()
      Create a debug exception.
      DebugException​(java.lang.String msg)
      Create a debug exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ADDITIONAL

        public static final java.lang.ThreadLocal<java.lang.Exception> ADDITIONAL
        Additional debug exception on current thread to use as cause.
    • Constructor Detail

      • DebugException

        public DebugException()
        Create a debug exception.
      • DebugException

        public DebugException​(java.lang.String msg)
        Create a debug exception.
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable