GaraException (Java Globus API)
org.globus.gara
Class GaraException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.globus.gara.GaraException
All Implemented Interfaces: java.io.Serializable
public class GaraException extends java.lang.Exception
This class defines the exceptions which are thrown by various
Gara and GaraReservation methods.
This class contains many definitions for error codes of the
form GLOBUS_GARA_ERROR_* and JAVA_GARA_ERROR_*. The GLOBUS... error codes are
identical to the ones used in the gara API. JAVA... error codes are additional
error codes which are added for errors that can occur in the Java code.
See Also: Serialized Form
Constructor Summary
GaraException ()
Constructs a new GaraException with the default error code of
GLOBUS_GARA_ERROR_NONE
GaraException (int errorCode)
Constructs a new GaraException with the given error code
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
GLOBUS_GARA_ERROR_NONE
public static final int GLOBUS_GARA_ERROR_NONE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_UNKNOWN
public static final int GLOBUS_GARA_ERROR_UNKNOWN
See Also: Constant Field Values
GLOBUS_GARA_ERROR_MODULE_NOT_ACTIVE
public static final int GLOBUS_GARA_ERROR_MODULE_NOT_ACTIVE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_BAD_PARAMETER
public static final int GLOBUS_GARA_ERROR_BAD_PARAMETER
See Also: Constant Field Values
GLOBUS_GARA_ERROR_ZERO_LENGTH_RSL
public static final int GLOBUS_GARA_ERROR_ZERO_LENGTH_RSL
See Also: Constant Field Values
GLOBUS_GARA_ERROR_BAD_RSL
public static final int GLOBUS_GARA_ERROR_BAD_RSL
See Also: Constant Field Values
GLOBUS_GARA_ERROR_BAD_RESERVATION_HANDLE
public static final int GLOBUS_GARA_ERROR_BAD_RESERVATION_HANDLE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_CONNECTION_FAILED
public static final int GLOBUS_GARA_ERROR_CONNECTION_FAILED
See Also: Constant Field Values
GLOBUS_GARA_ERROR_AUTHORIZATION
public static final int GLOBUS_GARA_ERROR_AUTHORIZATION
See Also: Constant Field Values
GLOBUS_GARA_ERROR_GATEKEEPER_MISCONFIGURE
public static final int GLOBUS_GARA_ERROR_GATEKEEPER_MISCONFIGURE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_VERSION_MISMATCH
public static final int GLOBUS_GARA_ERROR_VERSION_MISMATCH
See Also: Constant Field Values
GLOBUS_GARA_ERROR_INVALID_REQUEST
public static final int GLOBUS_GARA_ERROR_INVALID_REQUEST
See Also: Constant Field Values
GLOBUS_GARA_ERROR_UNKNOWN_RESERVATION_TYPE
public static final int GLOBUS_GARA_ERROR_UNKNOWN_RESERVATION_TYPE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_PROTOCOL_FAILED
public static final int GLOBUS_GARA_ERROR_PROTOCOL_FAILED
See Also: Constant Field Values
GLOBUS_GARA_ERROR_MISSING_RESERVATION_TYPE
public static final int GLOBUS_GARA_ERROR_MISSING_RESERVATION_TYPE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_OUT_OF_MEMORY
public static final int GLOBUS_GARA_ERROR_OUT_OF_MEMORY
See Also: Constant Field Values
GLOBUS_GARA_ERROR_MISSING_ENDPOINT_A
public static final int GLOBUS_GARA_ERROR_MISSING_ENDPOINT_A
See Also: Constant Field Values
GLOBUS_GARA_ERROR_MISSING_ENDPOINT_B
public static final int GLOBUS_GARA_ERROR_MISSING_ENDPOINT_B
See Also: Constant Field Values
GLOBUS_GARA_ERROR_CANT_MAKE_RESERVATION
public static final int GLOBUS_GARA_ERROR_CANT_MAKE_RESERVATION
See Also: Constant Field Values
GLOBUS_GARA_ERROR_PROBLEM_WITH_LRAM
public static final int GLOBUS_GARA_ERROR_PROBLEM_WITH_LRAM
See Also: Constant Field Values
GLOBUS_GARA_ERROR_HTTP_UNPACK_FAILED
public static final int GLOBUS_GARA_ERROR_HTTP_UNPACK_FAILED
See Also: Constant Field Values
GLOBUS_GARA_ERROR_BAD_RESERVATION_OBJECT
public static final int GLOBUS_GARA_ERROR_BAD_RESERVATION_OBJECT
See Also: Constant Field Values
GLOBUS_GARA_ERROR_GARA_SERVICE_EXECUTABLE_NOT_FOUND
public static final int GLOBUS_GARA_ERROR_GARA_SERVICE_EXECUTABLE_NOT_FOUND
See Also: Constant Field Values
GLOBUS_GARA_ERROR_CANT_CONTACT_RESOURCE_MANAGER
public static final int GLOBUS_GARA_ERROR_CANT_CONTACT_RESOURCE_MANAGER
See Also: Constant Field Values
GLOBUS_GARA_ERROR_UNKNONW_GRAM_ERROR
public static final int GLOBUS_GARA_ERROR_UNKNONW_GRAM_ERROR
See Also: Constant Field Values
GLOBUS_GARA_ERROR_MISSING_RESERVATION_SUBTYPE
public static final int GLOBUS_GARA_ERROR_MISSING_RESERVATION_SUBTYPE
See Also: Constant Field Values
GLOBUS_GARA_ERROR_SERVICE_NOT_FOUND
public static final int GLOBUS_GARA_ERROR_SERVICE_NOT_FOUND
THIS IS A GRAM ERROR CODE
See Also: Constant Field Values
JAVA_GARA_ERROR_MISSING_RESERVATION_HANDLE
public static final int JAVA_GARA_ERROR_MISSING_RESERVATION_HANDLE
See Also: Constant Field Values
JAVA_GARA_ERROR_INVALID_RESERVATION_STATUS
public static final int JAVA_GARA_ERROR_INVALID_RESERVATION_STATUS
See Also: Constant Field Values
JAVA_GARA_ERROR_NONEXISTANT_RESERVATION
public static final int JAVA_GARA_ERROR_NONEXISTANT_RESERVATION
See Also: Constant Field Values
errorCode
protected int errorCode
GaraException
public GaraException ()
Constructs a new GaraException with the default error code of
GLOBUS_GARA_ERROR_NONE
GaraException
public GaraException (int errorCode)
Constructs a new GaraException with the given error code
Parameters: errorCode -
getErrorCode
public int getErrorCode ()
Returns: The error code associated with this GaraException
getMessage
public static java.lang.String getMessage (int errorCode)
Returns: String The String representation of the given error code