public class AccountKitException
extends java.lang.RuntimeException
Constructor and Description |
---|
AccountKitException(AccountKitError.Type errorType,
InternalAccountKitError internalError)
Constructs a new AccountKitException.
|
AccountKitException(AccountKitError.Type errorType,
InternalAccountKitError internalError,
java.lang.String message)
Constructs a new AccountKitException.
|
AccountKitException(AccountKitError.Type errorType,
InternalAccountKitError internalError,
java.lang.Throwable throwable)
Constructs a new AccountKitException.
|
AccountKitException(AccountKitError error)
Constructs a new AccountKitException.
|
Modifier and Type | Method and Description |
---|---|
AccountKitError |
getError() |
java.lang.String |
toString() |
public AccountKitException(AccountKitError error)
error
- the errorpublic AccountKitException(AccountKitError.Type errorType, InternalAccountKitError internalError)
errorType
- the errorinternalError
- the internal errorpublic AccountKitException(AccountKitError.Type errorType, InternalAccountKitError internalError, java.lang.String message)
errorType
- the errorTypeinternalError
- internal errormessage
- extra detail to append to errorpublic AccountKitException(AccountKitError.Type errorType, InternalAccountKitError internalError, java.lang.Throwable throwable)
errorType
- the error typeinternalError
- internal errorthrowable
- the cause of this exceptionpublic AccountKitError getError()
public java.lang.String toString()
toString
in class java.lang.Throwable