Class ConstantThrowable
java.lang.Object
java.lang.Throwable
org.eclipse.jetty.util.ConstantThrowable
- All Implemented Interfaces:
 Serializable
A Throwable that may be used in static contexts,
for example when stored as a static field.
Suppressed exceptions are disabled; adding a suppressed
exception has no effect, so that instances of this class
stored as static fields do not accumulate suppressed
exceptions.
The stack trace is also disabled, since it would only be captured at the time this exception is created, not when the failure actually occurs.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
- 
Constructor Details
- 
ConstantThrowable
public ConstantThrowable() - 
ConstantThrowable
 
 - 
 - 
Method Details
- 
toString
 
 -