public class IdpException extends Exception
Constructor and Description |
---|
IdpException(int domain,
int code,
String message,
Object... args)
Creates a new SDK exception with domain, code and error message.
|
IdpException(int domain,
int code,
Throwable cause,
String message,
Object... args)
Creates a new SDK exception with domain, code, causing exception and error message.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the resultCode of the exception.
|
int |
getDomain()
Get the Domain of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IdpException(int domain, int code, String message, Object... args)
domain
- The error domain.code
- The error code.message
- The message following String.format(String, Object...)
syntax.args
- The optional formatting arguments.public IdpException(int domain, int code, Throwable cause, String message, Object... args)
domain
- The error domain.code
- The error code.cause
- The nested exception causing this exception.message
- The message following String.format(String, Object...)
syntax.args
- The optional formatting arguments.