public enum ErrorCode extends Enum<ErrorCode>
| Enum Constant and Description |
|---|
ALREADY_ISSUED |
BAD_CERT_TEMPLATE |
BAD_POP |
BAD_REQUEST |
CERT_REVOKED |
CERT_UNREVOKED |
CRL_FAILURE |
DATABASE_FAILURE |
INVALID_EXTENSION |
NOT_PERMITTED |
PATH_NOT_FOUND |
SYSTEM_FAILURE |
SYSTEM_UNAVAILABLE |
UNAUTHORIZED |
UNKNOWN_CERT |
UNKNOWN_CERT_PROFILE |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ErrorCode |
ofCode(int code) |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode ALREADY_ISSUED
public static final ErrorCode BAD_CERT_TEMPLATE
public static final ErrorCode BAD_REQUEST
public static final ErrorCode BAD_POP
public static final ErrorCode CERT_REVOKED
public static final ErrorCode CERT_UNREVOKED
public static final ErrorCode CRL_FAILURE
public static final ErrorCode DATABASE_FAILURE
public static final ErrorCode INVALID_EXTENSION
public static final ErrorCode NOT_PERMITTED
public static final ErrorCode SYSTEM_FAILURE
public static final ErrorCode SYSTEM_UNAVAILABLE
public static final ErrorCode UNKNOWN_CERT
public static final ErrorCode UNKNOWN_CERT_PROFILE
public static final ErrorCode PATH_NOT_FOUND
public static final ErrorCode UNAUTHORIZED
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public static ErrorCode ofCode(int code)
Copyright © 2023. All rights reserved.