Enum Class SandboxErrorCode
- All Implemented Interfaces:
Serializable,Comparable<SandboxErrorCode>,Constable
Error codes for sandbox operations, used in
SandboxException and its subclasses.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInvalid or missing sandbox configuration.Command exited with a non-zero exit code.Command execution timed out.A manifest entry contains an invalid or unsafe path.Snapshot does not exist or is not restorable.Failed to persist a snapshot.Failed to restore a snapshot.Failed to read or parse a workspace archive (tar).Failed to create a workspace archive (tar).Failed to start the workspace store.Failed to stop/persist the workspace store. -
Method Summary
Modifier and TypeMethodDescriptionstatic SandboxErrorCodeReturns the enum constant of this class with the specified name.static SandboxErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXEC_NONZERO
Command exited with a non-zero exit code. -
EXEC_TIMEOUT
Command execution timed out. -
WORKSPACE_START_ERROR
Failed to start the workspace store. -
WORKSPACE_STOP_ERROR
Failed to stop/persist the workspace store. -
WORKSPACE_ARCHIVE_READ_ERROR
Failed to read or parse a workspace archive (tar). -
WORKSPACE_ARCHIVE_WRITE_ERROR
Failed to create a workspace archive (tar). -
SNAPSHOT_PERSIST_ERROR
Failed to persist a snapshot. -
SNAPSHOT_RESTORE_ERROR
Failed to restore a snapshot. -
SNAPSHOT_NOT_RESTORABLE
Snapshot does not exist or is not restorable. -
INVALID_MANIFEST_PATH
A manifest entry contains an invalid or unsafe path. -
CONFIGURATION_ERROR
Invalid or missing sandbox configuration.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-