org.opengis.webservice
Class ExceptionCode

Show UML class diagram
Object
  extended by CodeList<ExceptionCode>
      extended by ExceptionCode
All Implemented Interfaces:
Serializable, Comparable<ExceptionCode>

public final class ExceptionCode
extends CodeList<ExceptionCode>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static ExceptionCode CURRENT_UPDATE_SEQUENCE
           
static ExceptionCode INVALID_FORMAT
           
static ExceptionCode INVALID_PARAMETER_VALUE
           
static ExceptionCode INVALID_UPDATE_SEQUENCE
           
static ExceptionCode MISSING_PARAMETER_VALUE
           
static ExceptionCode NO_APPLICABLE_CODE
           
static ExceptionCode OPERATION_NOT_SUPPORTED
           
static ExceptionCode VERSION_NEGOTIATION_FAILED
           
 
Method Summary
 ExceptionCode[] family()
          Returns the list of enumerations of the same kind than this enum.
static ExceptionCode valueOf(String code)
          Returns the exception code that matches the given string, or returns a new one if none match it.
static ExceptionCode[] values()
          Returns the list of ExceptionCodes.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALID_FORMAT

@UML(identifier="InvalidFormat",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode INVALID_FORMAT

CURRENT_UPDATE_SEQUENCE

@UML(identifier="CurrentUpdateSequence",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode CURRENT_UPDATE_SEQUENCE

INVALID_UPDATE_SEQUENCE

@UML(identifier="InvalidUpdateSequence",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode INVALID_UPDATE_SEQUENCE

MISSING_PARAMETER_VALUE

@UML(identifier="MissingParameterValue",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode MISSING_PARAMETER_VALUE

INVALID_PARAMETER_VALUE

@UML(identifier="InvalidParameterValue",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode INVALID_PARAMETER_VALUE

OPERATION_NOT_SUPPORTED

@UML(identifier="OperationNotSupported",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode OPERATION_NOT_SUPPORTED

VERSION_NEGOTIATION_FAILED

@UML(identifier="VersionNegotiationFailed",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode VERSION_NEGOTIATION_FAILED

NO_APPLICABLE_CODE

@UML(identifier="NoApplicableCode",
     obligation=CONDITIONAL,
     specification=UNSPECIFIED)
public static final ExceptionCode NO_APPLICABLE_CODE
Method Detail

values

public static ExceptionCode[] values()
Returns the list of ExceptionCodes.

Returns:
The list of codes declared in the current JVM.

family

public ExceptionCode[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<ExceptionCode>
Returns:
The codes of the same kind than this code.

valueOf

public static ExceptionCode valueOf(String code)
Returns the exception code that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for which name().equals(code) returns true. If no existing instance is found, then a new one is created for the given name.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1994-2012 Open Geospatial Consortium. All Rights Reserved.