- All Implemented Interfaces:
Serializable
Exception will include a code corresponding to the HTTP response code of the error. Typical response codes are 400, indicating that the submitted request was not valid and cannot be reattempted without corrective action being taken, or 500 indicating that there was an internal error in the server when attempting to process the request. Refer to the section on HTTP response codes in the API reference documentation for further details about the categories and meanings of HTTP response codes.
Exception will include a message element with a textual summary of the error, and may also provide a suggested-actions element with details on how to correct the problem.
Note that within the client, these exceptions are converted to true Java
ClarityException
automatically.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
void
setCategory
(String category) void
void
setMessage
(String message) void
setSuggestedActions
(String suggestedActions)
-
Field Details
-
message
-
suggestedActions
-
category
-
code
-
-
Constructor Details
-
Exception
public Exception()
-
-
Method Details
-
getMessage
-
setMessage
-
getSuggestedActions
-
setSuggestedActions
-
getCategory
-
setCategory
-
getCode
-
setCode
-