|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.basistech.rlp.RLPException
public class RLPException
Methods of RLP throw objects of this class when they encounter an error. This class stores an integer error code, as documented in the RLP C++ API.
Constructor Summary | |
---|---|
RLPException()
Default constructor. |
|
RLPException(int ec,
String es)
Creates a throwable object corresponding to one of the defined error codes. |
|
RLPException(Throwable cause,
String es)
Creates a throwable object. |
Method Summary | |
---|---|
int |
errorCode()
Returns the error code associated with the error. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RLPException()
public RLPException(int ec, String es)
ec
- The error code.es
- A string describing the problem in greater detail.public RLPException(Throwable cause, String es)
cause
- The root cause of the exception.es
- A string describing the problem in greater detail.Method Detail |
---|
public int errorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |