|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ireasoning.protocol.ErrorMsg
This class represents an error occurred.
Field Summary |
Fields inherited from interface com.ireasoning.protocol.Msg |
ERROR_TYPE |
Constructor Summary | |
ErrorMsg(Exception e)
Constructs a new ErrorMsg with passed Exception instance e |
|
ErrorMsg(Exception e,
String msg)
Constructs a new ErrorMsg with passed Exception instance e and error description msg |
Method Summary | |
String |
getErrorString()
Returns the error description |
Exception |
getException()
Returns the Exception instance |
int |
getType()
Returns the message type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ErrorMsg(Exception e)
public ErrorMsg(Exception e, String msg)
Method Detail |
public Exception getException()
public String getErrorString()
public int getType()
getType
in interface Msg
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |