Class RunException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Config.ConfigMissingException, StackReference.KeyMissingException

    public class RunException
    extends java.lang.RuntimeException
    RunException can be used for terminating a program abruptly, but resulting in a clean exit rather than the usual verbose unhandled error logic which emits the source program text and complete stack trace.
    This type should be rarely used.

    Ideally @see ResourceException should always be used so that as many errors as possible can be associated with a @see Resource.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RunException​(java.lang.String message)  
      RunException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, 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
    • Constructor Detail

      • RunException

        public RunException​(java.lang.String message)
      • RunException

        public RunException​(java.lang.String message,
                            @Nullable
                            java.lang.Throwable cause)