The Exception class, SmApiException, contains the result class SmApiResult. The following packages use SmApiException:
The core methods of the SmApiException class include:
Method |
Description |
---|---|
getFacility() |
Retrieves the facility code of the exception. |
getReason() |
Retrieves the reason code of the exception. |
getSeverity() |
Retrieves the severity code of the exception. |
getStatus() |
Retrieves the status code of the exception. |
toString() |
Returns a string representation of the SmApiResult object. |
The Exception class extends java.lang.Exception. By calling the inherited getMessage() method, you can retrieve the message associated with the exception.
Copyright © 2014 CA.
All rights reserved.
|
|