|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.ejen.EjenException
Ejen exception class. May wrap another exception.
| Field Summary | |
protected EjenChildNode |
_ejenChildNode
|
protected Throwable |
_embeddedThrowable
|
protected String |
_message
|
| Constructor Summary | |
EjenException(EjenChildNode ejenChildNode,
String message)
Constructor. |
|
EjenException(EjenChildNode ejenChildNode,
String message,
Throwable t)
Constructor. |
|
| Method Summary | |
EjenChildNode |
getEjenChildNode()
Returns the EjenChildNode that have thrown this EjenException. |
Throwable |
getEmbeddedThrowable()
Returns the embedded exception. |
String |
getMessage()
Returns a compound message: "<ecn> {<attrs>}: <msg> [<eemsg>]", where: <ecn> is the name of the EjenChildNode that have thrown this EjenException. |
String |
getRawMessage()
Returns the message associated with this EjenException. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected EjenChildNode _ejenChildNode
protected String _message
protected Throwable _embeddedThrowable
| Constructor Detail |
public EjenException(EjenChildNode ejenChildNode,
String message)
ejenChildNode - the EjenChildNode that is throwing this EjenException.message - the message associated with this EjenException.
public EjenException(EjenChildNode ejenChildNode,
String message,
Throwable t)
ejenChildNode - the EjenChildNode that is throwing this EjenException.message - the message associated with this EjenException.t - an embedded exception.| Method Detail |
public String getMessage()
getMessage in class Throwablepublic Throwable getEmbeddedThrowable()
public EjenChildNode getEjenChildNode()
public String getRawMessage()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||