|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.root1.simon.codec.messages.AbstractMessage
de.root1.simon.codec.messages.MsgError
public class MsgError
ERROR
message.
By default, the error is declared as "read" error, means, error while decoding.
Constructor Summary | |
---|---|
MsgError()
|
Method Summary | |
---|---|
java.lang.String |
getErrorMessage()
Get the message assiciated with the error |
int |
getInitSequenceId()
|
java.lang.String |
getRemoteObjectName()
|
java.lang.Throwable |
getThrowable()
Returns the associated throwable/exception. |
boolean |
isDecodeError()
Returns true, if error occured while decoding a message Returns false, if error occured while encoding a message |
void |
setDecodeError()
|
void |
setEncodeError()
|
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message of MsgError |
void |
setInitSequenceId(int initSequenceId)
|
void |
setRemoteObjectName(java.lang.String remoteObjectName)
|
void |
setThrowable(java.lang.Throwable throwable)
Sets the occured exception |
java.lang.String |
toString()
|
Methods inherited from class de.root1.simon.codec.messages.AbstractMessage |
---|
getErrorMsg, getMsgType, getSequence, hasError, setErrorMsg, setSequence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MsgError()
Method Detail |
---|
public java.lang.String getRemoteObjectName()
public void setRemoteObjectName(java.lang.String remoteObjectName)
remoteObjectName
- the remoteObjectName to setpublic java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- the errorMessage to setpublic java.lang.Throwable getThrowable()
public void setThrowable(java.lang.Throwable throwable)
throwable
- the throwable to setpublic int getInitSequenceId()
public void setInitSequenceId(int initSequenceId)
initSequenceId
- the initSequenceId to setpublic void setEncodeError()
public void setDecodeError()
public boolean isDecodeError()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |