Reviewing exceptions allows you to identify where an error has occurred during application execution.
Exception Handling
An exception represents an unexpected condition hindering a method from completion. In some cases, the exception is transient and you can retry it at a later time. In most cases, you must resolve the underlying cause of the exception to allow the API to complete successfully. In rare cases, the exception encountered corrupts the application state and may require you to terminate and restart the application.
Exception Classes
The Client Object API supports exception classes for queries and for the messaging client.
Error Codes
Codes for errors occuring during application execution.