| Package | Description | 
|---|---|
| com.dnanexus.exceptions | Exception classes that may be thrown by DNAnexus API calls. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InternalErrorExceptionException which indicates a 500 status code Internal Server Error. | 
| class  | InvalidAuthenticationExceptionThe OAuth2 token supplied with the request was invalid. | 
| class  | InvalidInputExceptionThe input is syntactically correct but semantically incorrect. | 
| class  | InvalidStateExceptionThe operation is not allowed at this object state. | 
| class  | InvalidTypeExceptionAn object specified in the request is of invalid type. | 
| class  | PermissionDeniedExceptionThe client has insufficient permissions to perform this action. | 
| class  | ResourceNotFoundExceptionA specified entity or resource could not be found. | 
| class  | ServiceUnavailableExceptionException used to indicate that the request yielded 503 Service Unavailable and suggested
 that we retry at some point in the future. | 
| class  | SpendingLimitExceededExceptionThe spending limit has been reached for the account that would be billed for
 this action. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DXAPIException | DXAPIException. getInstance(String errorType,
           String errorMessage,
           int statusCode)Constructs a  DXAPIExceptionof the appropriate subclass based on
 theerrorType. | 
Copyright © 2023. All Rights Reserved.