public enum ErrorType extends Enum<ErrorType>
| Enum Constant and Description |
|---|
CURRENT
Current errors (indicated by sense response codes 70h and 72h) indicate
that the sense data returned is the result of an error or exception
condition on the task that returned the CHECK CONDITION status or a
protocol specific failure condition.
|
DEFERRED
Deferred errors (indicated by sense response codes 71h and 73h) indicate
that the sense data returned is the result of an error or exception
condition that occurred during processing of a previous command for which
GOOD, CONDITION MET, INTERMEDIATE, and INTERMEDIATE-CONDITION MET status
has already been returned.
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType CURRENT
public static final ErrorType DEFERRED
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 nullCopyright © 2012 University of Konstanz, Distributed Systems Group. All Rights Reserved.