public abstract class RootCasException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
RootCasException(java.lang.String code)
Constructor that takes a
code description of the error along with the exception
msg generally for logging purposes. |
RootCasException(java.lang.String code,
java.lang.String msg)
Constructs a new exception with the code identifying the exception
and the error message.
|
RootCasException(java.lang.String code,
java.lang.Throwable throwable)
Constructs a new exception with the code identifying the exception
and the original throwable.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode() |
java.lang.String |
toString() |
public RootCasException(java.lang.String code)
code description of the error along with the exception
msg generally for logging purposes. These codes normally have a corresponding
entries in the messages file for the internationalization of error messages.code - the code to describe what type of exception this is.public RootCasException(java.lang.String code,
java.lang.String msg)
code - the code to describe what type of exception this is.msg - The error message associated with this exception for additional logging purposes.public RootCasException(java.lang.String code,
java.lang.Throwable throwable)
code - the code to describe what type of exception this is.throwable - the original exception we are chaining.public java.lang.String getCode()
getCode() on the cause of the chained exception rather than the returning
the code itself.public java.lang.String toString()
toString in class java.lang.Throwable