Thrift module: airavataErrors

ModuleServicesData typesConstants
airavataErrors AiravataClientException
AiravataErrorType
AiravataSystemException
AuthenticationException
AuthorizationException
ExperimentNotFoundException
InvalidRequestException
LaunchValidationException
ProjectNotFoundException
TimedOutException
ValidationResults
ValidatorResult

Enumerations

Enumeration: AiravataErrorType

A list of Airavata API Error Message Types

UNKNOWN: No information available about the error PERMISSION_DENIED: Not permitted to perform action

INTERNAL_ERROR: Unexpected problem with the service

AUTHENTICATION_FAILURE: The client failed to authenticate.

INVALID_AUTHORIZATION: Security Token and/or Username and/or password is incorrect AUTHORIZATION_EXPIRED: Authentication token expired UNKNOWN_GATEWAY_ID: The gateway is not registered with Airavata.

UNSUPPORTED_OPERATION: Operation denied because it is currently unsupported.

UNKNOWN0
PERMISSION_DENIED1
INTERNAL_ERROR2
AUTHENTICATION_FAILURE3
INVALID_AUTHORIZATION4
AUTHORIZATION_EXPIRED5
UNKNOWN_GATEWAY_ID6
UNSUPPORTED_OPERATION7

Data structures

Exception: ExperimentNotFoundException

KeyFieldTypeDescriptionRequirednessDefault value
1messagestringrequired

This exception is thrown when a client asks to perform an operation on an experiment that does not exist.

identifier: A description of the experiment that was not found on the server.

key: The value passed from the client in the identifier, which was not found.

Exception: ProjectNotFoundException

KeyFieldTypeDescriptionRequirednessDefault value
1messagestringrequired

1: optional string identifier, 2: optional string key


Exception: InvalidRequestException

KeyFieldTypeDescriptionRequirednessDefault value
1messagestringrequired

This exception is thrown for invalid requests that occur from any reasons like required input parameters are missing, or a parameter is malformed.

message: contains the associated error message.

Exception: TimedOutException

KeyFieldTypeDescriptionRequirednessDefault value

This exception is thrown when RPC timeout gets exceeded.

Exception: AuthenticationException

KeyFieldTypeDescriptionRequirednessDefault value
1messagestringrequired

This exception is thrown for invalid authentication requests.

message: contains the cause of the authorization failure.

Exception: AuthorizationException

KeyFieldTypeDescriptionRequirednessDefault value
1messagestringrequired

This exception is thrown for invalid authorization requests such user does not have acces to an aplication or resource.

message: contains the authorization failure message

Exception: AiravataClientException

KeyFieldTypeDescriptionRequirednessDefault value
1airavataErrorTypeAiravataErrorTyperequired
2parameterstringoptional

This exception is thrown by Airavata Services when a call fails as a result of a problem that a client may be able to resolve. For example, if the user attempts to execute an application on a resource gateway does not have access to.

This exception would not be used for internal system errors that do not reflect user actions, but rather reflect a problem within the service that the client cannot resolve.

airavataErrorType: The message type indicating the error that occurred. must be one of the values of AiravataErrorType.

parameter: If the error applied to a particular input parameter, this will indicate which parameter.

Struct: ValidatorResult

KeyFieldTypeDescriptionRequirednessDefault value
1resultboolrequired
2errorDetailsstringoptional

Struct: ValidationResults

KeyFieldTypeDescriptionRequirednessDefault value
1validationStateboolrequired
2validationResultListlist<ValidatorResult>required

Exception: LaunchValidationException

KeyFieldTypeDescriptionRequirednessDefault value
1validationResultValidationResultsrequired
2errorMessagestringoptional

Exception: AiravataSystemException

KeyFieldTypeDescriptionRequirednessDefault value
1airavataErrorTypeAiravataErrorTyperequired
2messagestringoptional

This exception is thrown by Airavata Services when a call fails as a result of a problem in the service that could not be changed through client's action.

airavataErrorType: The message type indicating the error that occurred. must be one of the values of AiravataErrorType.

message: This may contain additional information about the error