Java Globus API: Class GaraException
org.globus.gara
Class GaraException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.globus.gara.GaraException
All Implemented Interfaces: Serializable
public class GaraException extends 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
GLOBUS_GARA_ERROR_NONE
public static final int GLOBUS_GARA_ERROR_NONE
GLOBUS_GARA_ERROR_UNKNOWN
public static final int GLOBUS_GARA_ERROR_UNKNOWN
GLOBUS_GARA_ERROR_MODULE_NOT_ACTIVE
public static final int GLOBUS_GARA_ERROR_MODULE_NOT_ACTIVE
GLOBUS_GARA_ERROR_BAD_PARAMETER
public static final int GLOBUS_GARA_ERROR_BAD_PARAMETER
GLOBUS_GARA_ERROR_ZERO_LENGTH_RSL
public static final int GLOBUS_GARA_ERROR_ZERO_LENGTH_RSL
GLOBUS_GARA_ERROR_BAD_RSL
public static final int GLOBUS_GARA_ERROR_BAD_RSL
GLOBUS_GARA_ERROR_BAD_RESERVATION_HANDLE
public static final int GLOBUS_GARA_ERROR_BAD_RESERVATION_HANDLE
GLOBUS_GARA_ERROR_CONNECTION_FAILED
public static final int GLOBUS_GARA_ERROR_CONNECTION_FAILED
GLOBUS_GARA_ERROR_AUTHORIZATION
public static final int GLOBUS_GARA_ERROR_AUTHORIZATION
GLOBUS_GARA_ERROR_GATEKEEPER_MISCONFIGURE
public static final int GLOBUS_GARA_ERROR_GATEKEEPER_MISCONFIGURE
GLOBUS_GARA_ERROR_VERSION_MISMATCH
public static final int GLOBUS_GARA_ERROR_VERSION_MISMATCH
GLOBUS_GARA_ERROR_INVALID_REQUEST
public static final int GLOBUS_GARA_ERROR_INVALID_REQUEST
GLOBUS_GARA_ERROR_UNKNOWN_RESERVATION_TYPE
public static final int GLOBUS_GARA_ERROR_UNKNOWN_RESERVATION_TYPE
GLOBUS_GARA_ERROR_PROTOCOL_FAILED
public static final int GLOBUS_GARA_ERROR_PROTOCOL_FAILED
GLOBUS_GARA_ERROR_MISSING_RESERVATION_TYPE
public static final int GLOBUS_GARA_ERROR_MISSING_RESERVATION_TYPE
GLOBUS_GARA_ERROR_OUT_OF_MEMORY
public static final int GLOBUS_GARA_ERROR_OUT_OF_MEMORY
GLOBUS_GARA_ERROR_MISSING_ENDPOINT_A
public static final int GLOBUS_GARA_ERROR_MISSING_ENDPOINT_A
GLOBUS_GARA_ERROR_MISSING_ENDPOINT_B
public static final int GLOBUS_GARA_ERROR_MISSING_ENDPOINT_B
GLOBUS_GARA_ERROR_CANT_MAKE_RESERVATION
public static final int GLOBUS_GARA_ERROR_CANT_MAKE_RESERVATION
GLOBUS_GARA_ERROR_PROBLEM_WITH_LRAM
public static final int GLOBUS_GARA_ERROR_PROBLEM_WITH_LRAM
GLOBUS_GARA_ERROR_HTTP_UNPACK_FAILED
public static final int GLOBUS_GARA_ERROR_HTTP_UNPACK_FAILED
GLOBUS_GARA_ERROR_BAD_RESERVATION_OBJECT
public static final int GLOBUS_GARA_ERROR_BAD_RESERVATION_OBJECT
GLOBUS_GARA_ERROR_GARA_SERVICE_EXECUTABLE_NOT_FOUND
public static final int GLOBUS_GARA_ERROR_GARA_SERVICE_EXECUTABLE_NOT_FOUND
GLOBUS_GARA_ERROR_CANT_CONTACT_RESOURCE_MANAGER
public static final int GLOBUS_GARA_ERROR_CANT_CONTACT_RESOURCE_MANAGER
GLOBUS_GARA_ERROR_UNKNONW_GRAM_ERROR
public static final int GLOBUS_GARA_ERROR_UNKNONW_GRAM_ERROR
GLOBUS_GARA_ERROR_MISSING_RESERVATION_SUBTYPE
public static final int GLOBUS_GARA_ERROR_MISSING_RESERVATION_SUBTYPE
GLOBUS_GARA_ERROR_SERVICE_NOT_FOUND
public static final int GLOBUS_GARA_ERROR_SERVICE_NOT_FOUND
THIS IS A GRAM ERROR CODE
JAVA_GARA_ERROR_MISSING_RESERVATION_HANDLE
public static final int JAVA_GARA_ERROR_MISSING_RESERVATION_HANDLE
JAVA_GARA_ERROR_INVALID_RESERVATION_STATUS
public static final int JAVA_GARA_ERROR_INVALID_RESERVATION_STATUS
JAVA_GARA_ERROR_NONEXISTANT_RESERVATION
public static final int JAVA_GARA_ERROR_NONEXISTANT_RESERVATION
INIT_CALLBACK_HANDLER_FAILED
public static final int INIT_CALLBACK_HANDLER_FAILED
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 String getMessage (int errorCode)
Returns: String The String representation of the given error code