|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jlab.coda.cMsg.cMsgException
public class cMsgException
This class represents an error that occurred while attempting to execute a cMsg method.
Constructor Summary | |
---|---|
cMsgException()
Constructs a new exception with no message. |
|
cMsgException(java.lang.String msg)
Constructs a new exception with the specified message. |
|
cMsgException(java.lang.String msg,
int returnCode)
Constructs a new exception with the specified message and a return code. |
|
cMsgException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause. |
Method Summary | |
---|---|
int |
getReturnCode()
|
void |
setReturnCode(int returnCode)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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 cMsgException(java.lang.String msg, int returnCode)
msg
- the error messagereturnCode
- send an integer along with the exceptionpublic cMsgException(java.lang.String message, java.lang.Throwable cause)
message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method).cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public cMsgException(java.lang.String msg)
msg
- the error messagepublic cMsgException()
Method Detail |
---|
public int getReturnCode()
public void setReturnCode(int returnCode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |