|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
edu.sdsc.grid.io.srb.SRBException
public class SRBException
This class encompasses the legacy errors that can be returned by the SRB server. When an exception occurs in the SRB server a negative integer will be returned by the server which corresponds to a certain error message. This class provides methods to read that value and/or look up the related error.
| Constructor Summary | |
|---|---|
SRBException(int srbExceptionType)
Construct an SRBException with an empty message of the specified type. |
|
SRBException(java.lang.String message)
Construct a SRBException. |
|
SRBException(java.lang.String message,
int srbExceptionType)
Construct an SRBException. |
|
| Method Summary | |
|---|---|
java.lang.String |
getStandardMessage()
|
static java.lang.String |
getStandardMessage(int srbExceptionType)
Get the standard SRB error message for any error type. |
int |
getType()
|
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SRBException(java.lang.String message)
public SRBException(java.lang.String message,
int srbExceptionType)
public SRBException(int srbExceptionType)
| Method Detail |
|---|
public int getType()
public java.lang.String getStandardMessage()
public static java.lang.String getStandardMessage(int srbExceptionType)
public java.lang.String toString()
toString in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||