AccountKitException
This class is no longer available in the most recent version of the SDK.

Represents an error condition specific to the AccountKit SDK for Android.

Extends:RuntimeException
Package:accountkit
Constructors
AccountKitException(AccountKitError)

Constructs a new AccountKitException.

public AccountKitException(AccountKitError error)
ParameterDescription
errorThe error
AccountKitException(Type, InternalAccountKitError)

Constructs a new AccountKitException.

public AccountKitException(Type errorType, InternalAccountKitError internalError)
ParameterDescription
errorTypeThe error
internalErrorThe internal error
AccountKitException(Type, InternalAccountKitError, String)

Constructs a new AccountKitException.

public AccountKitException(Type errorType, InternalAccountKitError internalError, String message)
ParameterDescription
errorTypeThe errorType
internalErrorInternal error
messageExtra detail to append to error
AccountKitException(Type, InternalAccountKitError, Throwable)

Constructs a new AccountKitException.

public AccountKitException(Type errorType, InternalAccountKitError internalError, Throwable throwable)
ParameterDescription
errorTypeThe error type
internalErrorInternal error
throwableThe cause of this exception
AccountKitException(Type, Throwable)

Constructs a new AccountKitException.

public AccountKitException(Type errorType, Throwable throwable)
ParameterDescription
errorTypeThe errorType
throwableThe cause of this exception
Instance Methods
getError()
public AccountKitError getError()
Returns
The underlying error