Class KnownReason

All Implemented Interfaces:
Serializable

public class KnownReason extends RuntimeException
An exception that may be used to indicate that an exceptional condition is "expected" in the sense that you will need no further tools to investigate the reason, such as a stack trace.

Such exceptions may be a timeout or a user initiated cancel.

In conjunction with ExceptionTools you can search an exception chain for "known reasons".

See Also:
  • Constructor Details

    • KnownReason

      public KnownReason()
    • KnownReason

      public KnownReason(String message)
    • KnownReason

      public KnownReason(String message, Throwable cause)
    • KnownReason

      public KnownReason(Throwable cause)