net.opengis.ols.v_1_2
Enum ErrorCodeType

java.lang.Object
  extended by java.lang.Enum<ErrorCodeType>
      extended by net.opengis.ols.v_1_2.ErrorCodeType
All Implemented Interfaces:
Serializable, Comparable<ErrorCodeType>

public enum ErrorCodeType
extends Enum<ErrorCodeType>

Java class for ErrorCodeType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ErrorCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="RequestVersionMismatch"/>
     <enumeration value="ValueNotRecognized"/>
     <enumeration value="NotSupported"/>
     <enumeration value="Inconsistent"/>
     <enumeration value="DeliveryFailure"/>
     <enumeration value="SecurityFailure"/>
     <enumeration value="NoResultsReturned"/>
     <enumeration value="TimedOut"/>
     <enumeration value="InternalServerError"/>
     <enumeration value="DataNotAvailable"/>
     <enumeration value="Unknown"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
DATA_NOT_AVAILABLE
          The server does not have data coverage.
DELIVERY_FAILURE
          Message Delivery Failure.
INCONSISTENT
          Element content or attribute value inconsistent with other elements or attributes.
INTERNAL_SERVER_ERROR
          An error has occurred inside the server.
NO_RESULTS_RETURNED
          The inputs were correct but didn’t produce a result.
NOT_SUPPORTED
          Element or attribute not supported.
REQUEST_VERSION_MISMATCH
          Version of Request Schema not supported.
SECURITY_FAILURE
          Message Security Checks Failed.
TIMED_OUT
          The operation timed out on the server side.
UNKNOWN
          Unknown Error.
VALUE_NOT_RECOGNIZED
          Element content or attribute value not recognized.
 
Method Summary
static ErrorCodeType fromValue(String v)
           
 String value()
           
static ErrorCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorCodeType[] 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

REQUEST_VERSION_MISMATCH

public static final ErrorCodeType REQUEST_VERSION_MISMATCH
Version of Request Schema not supported. Should echo the invliad version number used in the request


VALUE_NOT_RECOGNIZED

public static final ErrorCodeType VALUE_NOT_RECOGNIZED
Element content or attribute value not recognized. Although the document is well formed and valid, the element/attribute contains a value that could not be recognized and therefore could not be used by the service processing the message. The error should include the value that was not recognized


NOT_SUPPORTED

public static final ErrorCodeType NOT_SUPPORTED
Element or attribute not supported. Although the document is well formed and valid, an element or attribute is present that is consistent with the rules and constraints contained in the OpenLS specification, but is not supported by the service processing the message.


INCONSISTENT

public static final ErrorCodeType INCONSISTENT
Element content or attribute value inconsistent with other elements or attributes. Although the document is well formed and valid, according to the rules and constraints contained in the OpenLS specification the content of an element or attribute is inconsistent with the content of other elements or their attributes.


DELIVERY_FAILURE

public static final ErrorCodeType DELIVERY_FAILURE
Message Delivery Failure. A message has been received that either probably or definitely could not be sent to its next destination. Note: if severity is set to Warning then there is a small probability that the message was delivered.


SECURITY_FAILURE

public static final ErrorCodeType SECURITY_FAILURE
Message Security Checks Failed. Validation of signatures or checks on the authenticity or authority of the sender of the message have failed.


NO_RESULTS_RETURNED

public static final ErrorCodeType NO_RESULTS_RETURNED
The inputs were correct but didn’t produce a result.


TIMED_OUT

public static final ErrorCodeType TIMED_OUT
The operation timed out on the server side.


INTERNAL_SERVER_ERROR

public static final ErrorCodeType INTERNAL_SERVER_ERROR
An error has occurred inside the server.


DATA_NOT_AVAILABLE

public static final ErrorCodeType DATA_NOT_AVAILABLE
The server does not have data coverage.


UNKNOWN

public static final ErrorCodeType UNKNOWN
Unknown Error. Indicates that an error has occurred that is not covered explicitly by any of the other errors. The Error message attribute should be used to indicate the nature of the problem.

Method Detail

values

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

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

valueOf

public static ErrorCodeType 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

value

public String value()

fromValue

public static ErrorCodeType fromValue(String v)


Copyright © 2008-2016. All Rights Reserved.