Class 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:
    Serialized Form
    • Constructor Detail

      • ConstantThrowable

        public ConstantThrowable()
      • ConstantThrowable

        public ConstantThrowable​(String name)