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.
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()
      Deprecated.
    • ConstantThrowable

      public ConstantThrowable(String name)
      Deprecated.
  • Method Details