Class ConstantThrowable

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

public class ConstantThrowable extends Throwable
A Throwable that may be used in static contexts. It uses Java 7 constructor that prevents setting stackTrace inside exception object.
See Also:
  • Constructor Details

    • ConstantThrowable

      public ConstantThrowable()
    • ConstantThrowable

      public ConstantThrowable(String name)
  • Method Details