Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.48 KB

File metadata and controls

32 lines (23 loc) · 1.48 KB

Subscription Error Exception

The error details.

Structure

SubscriptionErrorException

Fields

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)

Example

try {
    // make the API call
} catch (SubscriptionErrorException e) {
    e.printStackTrace();
} catch (ApiException e) {
    e.printStackTrace();
}