thredds.wcs.v1_1_0
Enum WcsException.Code

java.lang.Object
  extended by java.lang.Enum<WcsException.Code>
      extended by thredds.wcs.v1_1_0.WcsException.Code
All Implemented Interfaces:
Serializable, Comparable<WcsException.Code>
Enclosing class:
WcsException

public static enum WcsException.Code
extends Enum<WcsException.Code>


Enum Constant Summary
InvalidParameterValue
           
InvalidUpdateSequence
           
MissingParameterValue
           
NoApplicableCode
           
NotEnoughStorage
           
OperationNotSupported
           
UnsupportedCombination
           
VersionNegotiationFailed
           
 
Method Summary
static WcsException.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WcsException.Code[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OperationNotSupported

public static final WcsException.Code OperationNotSupported

MissingParameterValue

public static final WcsException.Code MissingParameterValue

InvalidParameterValue

public static final WcsException.Code InvalidParameterValue

VersionNegotiationFailed

public static final WcsException.Code VersionNegotiationFailed

InvalidUpdateSequence

public static final WcsException.Code InvalidUpdateSequence

NoApplicableCode

public static final WcsException.Code NoApplicableCode

UnsupportedCombination

public static final WcsException.Code UnsupportedCombination

NotEnoughStorage

public static final WcsException.Code NotEnoughStorage
Method Detail

values

public static WcsException.Code[] 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 (WcsException.Code c : WcsException.Code.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WcsException.Code valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.