|
||||||||||
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.glite.rgma.RGMAException
Exception thrown when an error occurs in the RGMA application.
Field Summary | |
static int |
RGMA_BUFFER_FULL_EXCEPTION
Error code for R-GMA buffer full exception. |
static int |
RGMA_BUSY_EXCEPTION
Error code for R-GMA busy exception. |
static int |
RGMA_EXCEPTION
Error code for generic R-GMA exception. |
static int |
RGMA_NO_WORKING_REPLICAS_EXCEPTION
Error code for R-GMA no working replicas exception. |
static int |
RGMA_SECURITY_EXCEPTION
Error code for R-GMA security exception. |
static int |
RGMA_USER_EXCEPTION
Error code for R-GMA user exception. |
Constructor Summary | |
RGMAException(int errNo)
Creates a new RGMAException object. |
|
RGMAException(int errNo,
java.lang.String message)
Creates a new RGMAException object. |
|
RGMAException(int errNo,
java.lang.String message,
java.lang.Throwable cause)
Creates a new RGMAException object. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the root cause of this exception. |
int |
getErrorNumber()
Gets the error number associated with this exception. |
java.lang.String |
getMessage()
Returns the error message. |
int |
getNumSuccessfulOps()
Returns the number of successful operations (for batch commands). |
void |
setNumSuccessfulOps(int numSuccessfulOps)
Sets the number of successful operations (for batch commands). |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int RGMA_EXCEPTION
public static final int RGMA_SECURITY_EXCEPTION
public static final int RGMA_USER_EXCEPTION
public static final int RGMA_BUFFER_FULL_EXCEPTION
public static final int RGMA_NO_WORKING_REPLICAS_EXCEPTION
public static final int RGMA_BUSY_EXCEPTION
Constructor Detail |
public RGMAException(int errNo, java.lang.String message, java.lang.Throwable cause)
errNo
- Error number.message
- Error message.cause
- Root cause.public RGMAException(int errNo, java.lang.String message)
errNo
- Error number.message
- Error message.public RGMAException(int errNo)
errNo
- Error number.Method Detail |
public int getErrorNumber()
public java.lang.Throwable getCause()
public java.lang.String getMessage()
public int getNumSuccessfulOps()
public void setNumSuccessfulOps(int numSuccessfulOps)
numSuccessfulOps
- Number of successful operations (for batch commands).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |