@Immutable
public class SpectrumException
extends java.lang.Exception
| Constructor and Description |
|---|
SpectrumException(java.lang.Exception cause)
Creates new exception with the given cause
|
SpectrumException(java.lang.String message)
Creates new exception with the given message
|
SpectrumException(java.lang.String message,
java.lang.Exception cause)
Creates new exception with the given message and cause
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Additional verbose descriptions (e.g.
|
java.lang.String |
getLocation()
The location of the error including method and line number
|
java.lang.String |
getMessage()
The specific error message (e.g.
|
java.lang.String |
getName()
Name that groups similar exceptions together (e.g.
|
java.lang.String |
toString() |
public SpectrumException(java.lang.String message)
public SpectrumException(java.lang.Exception cause)
public SpectrumException(java.lang.String message,
java.lang.Exception cause)
@Nullable public java.lang.String getName()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable@Nullable public java.lang.String getLocation()
@Nullable public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Throwable