The error details.
SubscriptionErrorException
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Name |
String |
Required | The human-readable, unique name of the error. | String getName() | setName(String name) |
Message |
String |
Required | The message that describes the error. | String getMessageField() | setMessageField(String messageField) |
DebugId |
String |
Required | The PayPal internal ID. Used for correlation purposes. | String getDebugId() | setDebugId(String debugId) |
InformationLink |
String |
Optional, Read-only | The information link, or URI, that shows detailed information about this error for the developer. | String getInformationLink() | setInformationLink(String informationLink) |
Details |
List<ErrorDetails> |
Optional | An array of additional details about the error. | List getDetails() | setDetails(List details) |
Links |
List<LinkDescription> |
Optional, Read-only | An array of request-related HATEOAS links. | List getLinks() | setLinks(List links) |
try {
// make the API call
} catch (SubscriptionErrorException e) {
e.printStackTrace();
} catch (ApiException e) {
e.printStackTrace();
}