public class IdpException
extends java.lang.Exception
| Constructor and Description |
|---|
IdpException(int domain,
int code,
java.lang.String message,
java.lang.Object... args)
Creates a new SDK exception with domain, code and error message.
|
IdpException(int domain,
int code,
java.lang.Throwable cause,
java.lang.String message,
java.lang.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.
|
public IdpException(int domain,
int code,
java.lang.String message,
java.lang.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,
java.lang.Throwable cause,
java.lang.String message,
java.lang.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.