Class RunException

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

public class RunException extends 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:
  • Constructor Details

    • RunException

      public RunException(String message)
    • RunException

      public RunException(String message, @Nullable Throwable cause)