The DIDException class is the base class for all exceptions thrown for the ShoCard SDK. The SDK returns objects of type DIDError when calling back to the MessageHandler implementation in the server or native application.

The DIDException class looks like this:

class DIDException {
  String getMessage();
  String getLocalizedMessage();
}

Methods

Method Description
getMessage Returns the exception message.
getLocalizedMessage Returns a localized version of the exception message, if available.