|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Error sofya.base.exceptions.SofyaError
public class SofyaError
Error that indicates that a serious internal error has occurred in the Sofya system.
Constructor Summary | |
---|---|
SofyaError()
Creates a new Sofya error. |
|
SofyaError(java.lang.String msg)
Creates a new Sofya error with a given message. |
|
SofyaError(java.lang.String msg,
java.lang.Throwable cause)
Creates a new Sofya error with a message and encapsulating an original cause for failure. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Gets the exception that is the original source of the error (may be null ). |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SofyaError()
public SofyaError(java.lang.String msg)
msg
- Message describing the error.public SofyaError(java.lang.String msg, java.lang.Throwable cause)
msg
- Message describing the error.cause
- Exception which indicated the error.Method Detail |
---|
public java.lang.Throwable getCause()
null
).
getCause
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |