Package org.eclipse.jetty.util
Class ConstantThrowable
- java.lang.Object
-
- java.lang.Throwable
-
- org.eclipse.jetty.util.ConstantThrowable
-
- All Implemented Interfaces:
java.io.Serializable
public class ConstantThrowable extends java.lang.Throwable
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()
ConstantThrowable(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-