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