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:
- 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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
KnownReason
public KnownReason()
KnownReason
public KnownReason(String message)
KnownReason
public KnownReason(String message,
Throwable cause)
KnownReason
public KnownReason(Throwable cause)
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.