Package gov.nasa.worldwind.data
Enum CachedDataRaster.ErrorHandlerMode
- java.lang.Object
-
- java.lang.Enum<CachedDataRaster.ErrorHandlerMode>
-
- gov.nasa.worldwind.data.CachedDataRaster.ErrorHandlerMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CachedDataRaster.ErrorHandlerMode>
- Enclosing class:
- CachedDataRaster
protected static enum CachedDataRaster.ErrorHandlerMode extends java.lang.Enum<CachedDataRaster.ErrorHandlerMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_EXCEPTIONS
DISABLE_EXCEPTIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CachedDataRaster.ErrorHandlerMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CachedDataRaster.ErrorHandlerMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW_EXCEPTIONS
public static final CachedDataRaster.ErrorHandlerMode ALLOW_EXCEPTIONS
-
DISABLE_EXCEPTIONS
public static final CachedDataRaster.ErrorHandlerMode DISABLE_EXCEPTIONS
-
-
Method Detail
-
values
public static CachedDataRaster.ErrorHandlerMode[] 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 (CachedDataRaster.ErrorHandlerMode c : CachedDataRaster.ErrorHandlerMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CachedDataRaster.ErrorHandlerMode 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
-
-