Throwable that may be used in static contexts. It uses Java 7
constructor that prevents setting stackTrace inside exception object.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| ConstantThrowable | back to summary |
|---|---|
| public ConstantThrowable() | |
| ConstantThrowable | back to summary |
|---|---|
| public ConstantThrowable(String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a short description of this throwable. The result is the concatenation of:
getLocalizedMessage returns null, then just
the class name is returned.
| |