Error Handling

Top  Previous  Next

The client API wraps all HTTP errors that it may receive from the service. It turns these errors into client exceptions. The following client exceptions may occur.

 

BadDataException : Thrown when the data sent to the server is malformed or incomplete. In general this error should not occur when using the client.
InternalErrorException: A problem occurred processing the request.
NotAuthorizedException: The requested operation was not valid for the user making the request.
ResourceNotFoundException: A requested resource was not found on the server. Will occur when trying to retrieve a topic that has been deleted.
ServerProcessingException: A problem occurred processing the request.
ServiceClientException: A problem has occurred on the client, such as a deserialization issue, or bad data structured initialization.