public enum ClientError extends java.lang.Enum<ClientError> implements com.scalar.dl.ledger.error.ScalarDlError
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCause() |
java.lang.String |
getComponentName() |
java.lang.String |
getId() |
java.lang.String |
getMessage() |
java.lang.String |
getSolution() |
com.scalar.dl.ledger.service.StatusCode |
getStatusCode() |
static ClientError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientError INCONSISTENT_RESULTS
public static final ClientError OPTION_ASSET_ID_IS_MALFORMED
public static final ClientError OPTION_ASSET_ID_CONTAINS_INVALID_INTEGER
public static final ClientError CONFIG_INVALID_AUTHENTICATION_METHOD_FOR_CLIENT_MODE
public static final ClientError CONFIG_INVALID_AUTHENTICATION_METHOD_FOR_INTERMEDIARY_MODE
public static final ClientError CONFIG_CERT_AND_KEY_REQUIRED_FOR_DIGITAL_SIGNATURE
public static final ClientError CONFIG_SECRET_KEY_REQUIRED_FOR_HMAC
public static final ClientError CONFIG_ENTITY_ID_OR_CERT_HOLDER_ID_REQUIRED
public static final ClientError CONFIG_DIGITAL_SIGNATURE_AUTHENTICATION_NOT_CONFIGURED
public static final ClientError CONFIG_HMAC_AUTHENTICATION_NOT_CONFIGURED
public static final ClientError CONFIG_VALIDATE_LEDGER_WITH_AUDITOR_NOT_SUPPORTED_WITH_INTERMEDIARY_MODE
public static final ClientError CONFIG_WRONG_CLIENT_MODE_SPECIFIED
public static final ClientError SERVICE_CONTRACT_ID_CANNOT_BE_NULL
public static final ClientError SERVICE_CONTRACT_NAME_CANNOT_BE_NULL
public static final ClientError SERVICE_CONTRACT_BYTES_CANNOT_BE_NULL
public static final ClientError SERVICE_CONTRACT_ARGUMENT_CANNOT_BE_NULL
public static final ClientError SERVICE_CONTRACT_PATH_CANNOT_BE_NULL
public static final ClientError SERVICE_FUNCTION_ID_CANNOT_BE_NULL
public static final ClientError SERVICE_FUNCTION_NAME_CANNOT_BE_NULL
public static final ClientError SERVICE_FUNCTION_BYTES_CANNOT_BE_NULL
public static final ClientError SERVICE_FUNCTION_PATH_CANNOT_BE_NULL
public static final ClientError SERVICE_ASSET_ID_CANNOT_BE_NULL
public static final ClientError SERVICE_INVALID_ASSET_AGES
public static final ClientError SERVICE_WRONG_ASSET_TYPE_SPECIFIED
public static final ClientError SERVICE_WRONG_KEYS_SPECIFIED
public static final ClientError READING_FILE_FAILED
public static final ClientError CONFIGURING_SSL_FAILED
public static final ClientError SHUTTING_DOWN_CHANNEL_FAILED
public static final ClientError PROCESSING_JSON_FAILED
public static final ClientError CLASS_FILE_LOAD_FAILED
public static ClientError[] values()
for (ClientError c : ClientError.values()) System.out.println(c);
public static ClientError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getComponentName()
getComponentName
in interface com.scalar.dl.ledger.error.ScalarDlError
public com.scalar.dl.ledger.service.StatusCode getStatusCode()
getStatusCode
in interface com.scalar.dl.ledger.error.ScalarDlError
public java.lang.String getId()
getId
in interface com.scalar.dl.ledger.error.ScalarDlError
public java.lang.String getMessage()
getMessage
in interface com.scalar.dl.ledger.error.ScalarDlError
public java.lang.String getCause()
getCause
in interface com.scalar.dl.ledger.error.ScalarDlError
public java.lang.String getSolution()
getSolution
in interface com.scalar.dl.ledger.error.ScalarDlError