Package org.eclipse.jetty.util
Class ConstantThrowable
- java.lang.Object
-
- java.lang.Throwable
-
- org.eclipse.jetty.util.ConstantThrowable
-
- All Implemented Interfaces:
Serializable
@Deprecated(since="2021-05-27") public class ConstantThrowable extends Throwable
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.AThrowable
that may be used in static contexts. It uses Java 7 constructor that prevents setting stackTrace inside exception object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstantThrowable()
Deprecated.ConstantThrowable(String name)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
toString()
Deprecated.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-