Device applications are responsible for catching and handling exceptions thrown by the client object API.