Class StaticException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jetty.util.StaticException
All Implemented Interfaces:
Serializable

@Deprecated(since="12.1.2", forRemoval=true) public class StaticException extends Exception
Deprecated, for removal: This API element is subject to removal in a future version.
use ConstantThrowable instead
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: