Package de.intarsys.tools.exception
Class KnownReason
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.intarsys.tools.exception.KnownReason
-
- All Implemented Interfaces:
java.io.Serializable
public class KnownReason extends java.lang.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KnownReason()
KnownReason(java.lang.String message)
KnownReason(java.lang.String message, java.lang.Throwable cause)
KnownReason(java.lang.Throwable cause)
-