Class StaticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jetty.util.StaticException
- All Implemented Interfaces:
 Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
This exception can safely be stored in a static variable as suppressed exceptions are disabled,
meaning calling 
Throwable.addSuppressed(Throwable) has no effect.
This prevents potential memory leaks where a statically-stored exception would accumulate
suppressed exceptions added to them.- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionStaticException(String message) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with writable stack trace and suppression disabled.StaticException(String message, boolean writableStackTrace) Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with suppression disabled. - 
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
StaticException
Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with writable stack trace and suppression disabled.- Parameters:
 message- – the detail message- See Also:
 
 - 
StaticException
Deprecated, for removal: This API element is subject to removal in a future version.Create an instance with suppression disabled.- Parameters:
 message- – the detail messagewritableStackTrace- whether or not the stack trace should be writable- See Also:
 
 
 - 
 
ConstantThrowableinstead