public class ConstantThrowable
extends java.lang.Throwable
Throwable
that may be used in static contexts. It uses Java 7
constructor that prevents setting stackTrace inside exception object.Constructor and Description |
---|
ConstantThrowable() |
ConstantThrowable(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |