public class TrustedListException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static int |
REASON_CONFIG
TrustedList configuration error.
|
static int |
REASON_GENERAL
General error.
|
static int |
REASON_LOAD
TrustedList load error.
|
static int |
REASON_NOT_AFTER
TrustedList is expired.
|
static int |
REASON_PARSE
TrustedList parse error.
|
static int |
REASON_SIGNATURE
TrustedList signature error.
|
| Constructor and Description |
|---|
TrustedListException(String message,
int reason) |
TrustedListException(String message,
Throwable cause,
int reason) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
int |
getReason() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int REASON_GENERAL
public static final int REASON_CONFIG
public static final int REASON_LOAD
public static final int REASON_PARSE
public static final int REASON_SIGNATURE
public static final int REASON_NOT_AFTER
public TrustedListException(String message, int reason)
public int getReason()
public String getMessage()
getMessage in class Throwable