Enum ReadWriteErrorCode
- java.lang.Object
-
- java.lang.Enum<ReadWriteErrorCode>
-
- fr.gouv.vitam.storage.offers.tape.exception.ReadWriteErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ReadWriteErrorCode>
public enum ReadWriteErrorCode extends java.lang.Enum<ReadWriteErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReadWriteErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReadWriteErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL_ERROR_SERVER
public static final ReadWriteErrorCode INTERNAL_ERROR_SERVER
-
TAPE_NOT_FOUND_IN_CATALOG
public static final ReadWriteErrorCode TAPE_NOT_FOUND_IN_CATALOG
-
NO_EMPTY_SLOT_FOUND
public static final ReadWriteErrorCode NO_EMPTY_SLOT_FOUND
-
KO_TAPE_IS_OUTSIDE
public static final ReadWriteErrorCode KO_TAPE_IS_OUTSIDE
-
TAPE_LOCATION_CONFLICT_ON_LOAD
public static final ReadWriteErrorCode TAPE_LOCATION_CONFLICT_ON_LOAD
Previous location should not be a drive, but a slot or mailbox Current location should not be null
-
TAPE_LOCATION_CONFLICT_ON_UNLOAD
public static final ReadWriteErrorCode TAPE_LOCATION_CONFLICT_ON_UNLOAD
-
FILE_NOT_FOUND
public static final ReadWriteErrorCode FILE_NOT_FOUND
-
NULL_CURRENT_TAPE
public static final ReadWriteErrorCode NULL_CURRENT_TAPE
-
KO_DB_PERSIST
public static final ReadWriteErrorCode KO_DB_PERSIST
-
KO_ON_LOAD_TAPE
public static final ReadWriteErrorCode KO_ON_LOAD_TAPE
-
KO_ON_UNLOAD_TAPE
public static final ReadWriteErrorCode KO_ON_UNLOAD_TAPE
-
KO_ON_WRITE_TO_TAPE
public static final ReadWriteErrorCode KO_ON_WRITE_TO_TAPE
-
KO_ON_REWIND_TAPE
public static final ReadWriteErrorCode KO_ON_REWIND_TAPE
-
KO_ON_REWIND_FSF_BSF_TAPE
public static final ReadWriteErrorCode KO_ON_REWIND_FSF_BSF_TAPE
-
KO_ON_END_OF_TAPE
public static final ReadWriteErrorCode KO_ON_END_OF_TAPE
Tape is full
-
KO_ON_GOTO_FILE_COUNT
public static final ReadWriteErrorCode KO_ON_GOTO_FILE_COUNT
Ko on move to end of data according to file count of tape catalog
-
KO_ON_STATUS
public static final ReadWriteErrorCode KO_ON_STATUS
-
KO_ON_LOAD_THEN_STATUS
public static final ReadWriteErrorCode KO_ON_LOAD_THEN_STATUS
-
KO_ON_UNLOAD_THEN_STATUS
public static final ReadWriteErrorCode KO_ON_UNLOAD_THEN_STATUS
-
KO_UNKNOWN_CURRENT_POSITION
public static final ReadWriteErrorCode KO_UNKNOWN_CURRENT_POSITION
-
KO_ON_READ_FROM_TAPE
public static final ReadWriteErrorCode KO_ON_READ_FROM_TAPE
-
KO_LABEL_DISCORDING_NOT_EMPTY_TAPE
public static final ReadWriteErrorCode KO_LABEL_DISCORDING_NOT_EMPTY_TAPE
-
KO_LABEL_DISCORDING
public static final ReadWriteErrorCode KO_LABEL_DISCORDING
-
KO_REWIND_BEFORE_FORCE_OVERRIDE_NON_EMPTY_TAPE
public static final ReadWriteErrorCode KO_REWIND_BEFORE_FORCE_OVERRIDE_NON_EMPTY_TAPE
-
KO_ON_READ_LABEL
public static final ReadWriteErrorCode KO_ON_READ_LABEL
-
TAPE_LOCATION_UNKNOWN
public static final ReadWriteErrorCode TAPE_LOCATION_UNKNOWN
-
KO_TAPE_CURRENT_POSITION_GREATER_THAN_FILE_COUNT
public static final ReadWriteErrorCode KO_TAPE_CURRENT_POSITION_GREATER_THAN_FILE_COUNT
-
KO_ON_GO_TO_POSITION
public static final ReadWriteErrorCode KO_ON_GO_TO_POSITION
-
KO_REWIND_BEFORE_UNLOAD_TAPE
public static final ReadWriteErrorCode KO_REWIND_BEFORE_UNLOAD_TAPE
-
KO_ON_WRITE_TO_FS
public static final ReadWriteErrorCode KO_ON_WRITE_TO_FS
-
KO_ON_MOVE_TO_CACHE
public static final ReadWriteErrorCode KO_ON_MOVE_TO_CACHE
-
KO_ON_DELETE_ARCHIVED_BACKUP
public static final ReadWriteErrorCode KO_ON_DELETE_ARCHIVED_BACKUP
-
KO_TAPE_IS_BUSY
public static final ReadWriteErrorCode KO_TAPE_IS_BUSY
-
KO_TAPE_CONFLICT_STATE
public static final ReadWriteErrorCode KO_TAPE_CONFLICT_STATE
-
KO_DRIVE_STATUS_KO_AFTER_WRITE_ERROR
public static final ReadWriteErrorCode KO_DRIVE_STATUS_KO_AFTER_WRITE_ERROR
-
-
Method Detail
-
values
public static ReadWriteErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReadWriteErrorCode c : ReadWriteErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReadWriteErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-