public static enum ScannerException.Type extends java.lang.Enum<ScannerException.Type>
| Enum Constant and Description |
|---|
DISABLED |
NOT_SUPPORTED |
PERMISSION_DENIED |
SCAN_ALREADY_IN_PROGRESS |
TIMEOUT |
UNKNOWN_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static ScannerException.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerException.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerException.Type NOT_SUPPORTED
public static final ScannerException.Type PERMISSION_DENIED
public static final ScannerException.Type DISABLED
public static final ScannerException.Type SCAN_ALREADY_IN_PROGRESS
public static final ScannerException.Type UNKNOWN_ERROR
public static final ScannerException.Type TIMEOUT
public static ScannerException.Type[] values()
for (ScannerException.Type c : ScannerException.Type.values()) System.out.println(c);
public static ScannerException.Type 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 null