Store exceptions

The Store service throws the following exceptions:
Table 1. Store exceptions
Exception Reasons/Actions
DSEInvalidRequestException The current state of the object is not valid for the method being called.

Action: Check for the store state and set it to "active" before requesting any database operation.
DSEInternalErrorException Internal data is inconsistent.

Action: Report the error through the standard reporting channels to the toolkit support.
DSEInvalidArgumentException One of the arguments in the called method is invalid: it is an instance of an unexpected class or it is outside the expected range.

Action: Check the value of the arguments.
DSEObjectNotFoundException An exception occurred when accessing the database.

Action: Refer to the SQL documentation to take the appropriate action for the specific error number and message.
DSEException An exception has been returned when requesting or releasing a connection from a pool of connections or when trying to share a connection.

Action: Verify that the connection pooling is available. Check the maximum number of connections defined and the connection timeout, and consider setting new values that can avoid this exception in future.