org.deegree.services.controller.ows
Class OWSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deegree.services.controller.exception.ControllerException
              extended by org.deegree.services.controller.ows.OWSException
All Implemented Interfaces:
java.io.Serializable

public class OWSException
extends ControllerException

OGC Web Service Exception for all OGC related errors.

Version:
$Revision: 20300 $, $Date: 2009-10-22 13:40:04 +0200 (Do, 22. Okt 2009) $
Author:
Oliver Tonnhofer, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
static java.lang.String CURRENT_UPDATE_SEQUENCE
          what the text says
static java.lang.String INVALID_CRS
           
static java.lang.String INVALID_DATE
          the date is not parsable
static java.lang.String INVALID_FORMAT
          the parameter value of the format parameter is invalid
static java.lang.String INVALID_PARAMETER_VALUE
          the parameter value is invalid
static java.lang.String INVALID_POINT
           
static java.lang.String INVALID_SRS
          what the text says
static java.lang.String INVALID_UPDATE_SEQUENCE
          updateSequence value is greater than the current value
static java.lang.String LAYER_NOT_DEFINED
          the layer is not defined
static java.lang.String MISSING_PARAMETER_VALUE
          a required parameter is missing
static java.lang.String OPERATION_NOT_SUPPORTED
          the requested operation is not supported
static java.lang.String OPTION_NOT_SUPPORTED
          the requested option is not supported
static java.lang.String STYLE_NOT_DEFINED
          what the text says
static java.lang.String VERSION_NEGOTIATION_FAILED
          server doesn't support any of the requested AcceptVersions
 
Fields inherited from class org.deegree.services.controller.exception.ControllerException
NO_APPLICABLE_CODE
 
Constructor Summary
OWSException(org.deegree.commons.utils.kvp.InvalidParameterValueException cause)
          Creates a new OWSException from an InvalidParameterValueException.
OWSException(org.deegree.commons.utils.kvp.MissingParameterException cause)
          Creates a new OWSException from an MissingParameterException.
OWSException(java.lang.String message, java.lang.String exceptionCode)
          Create a new OWSException.
OWSException(java.lang.String message, java.lang.String exceptionCode, java.lang.String locator)
          Create a new OWSException.
OWSException(java.lang.String message, java.lang.Throwable cause, java.lang.String exceptionCode)
          Create a new OWSException.
 
Method Summary
 java.lang.String getLocator()
           
 
Methods inherited from class org.deegree.services.controller.exception.ControllerException
getExceptionCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MISSING_PARAMETER_VALUE

public static final java.lang.String MISSING_PARAMETER_VALUE
a required parameter is missing

See Also:
Constant Field Values

INVALID_PARAMETER_VALUE

public static final java.lang.String INVALID_PARAMETER_VALUE
the parameter value is invalid

See Also:
Constant Field Values

INVALID_FORMAT

public static final java.lang.String INVALID_FORMAT
the parameter value of the format parameter is invalid

See Also:
Constant Field Values

LAYER_NOT_DEFINED

public static final java.lang.String LAYER_NOT_DEFINED
the layer is not defined

See Also:
Constant Field Values

STYLE_NOT_DEFINED

public static final java.lang.String STYLE_NOT_DEFINED
what the text says

See Also:
Constant Field Values

INVALID_SRS

public static final java.lang.String INVALID_SRS
what the text says

See Also:
Constant Field Values

INVALID_CRS

public static final java.lang.String INVALID_CRS
See Also:
Constant Field Values

INVALID_POINT

public static final java.lang.String INVALID_POINT
See Also:
Constant Field Values

VERSION_NEGOTIATION_FAILED

public static final java.lang.String VERSION_NEGOTIATION_FAILED
server doesn't support any of the requested AcceptVersions

See Also:
Constant Field Values

INVALID_UPDATE_SEQUENCE

public static final java.lang.String INVALID_UPDATE_SEQUENCE
updateSequence value is greater than the current value

See Also:
Constant Field Values

CURRENT_UPDATE_SEQUENCE

public static final java.lang.String CURRENT_UPDATE_SEQUENCE
what the text says

See Also:
Constant Field Values

OPERATION_NOT_SUPPORTED

public static final java.lang.String OPERATION_NOT_SUPPORTED
the requested operation is not supported

See Also:
Constant Field Values

OPTION_NOT_SUPPORTED

public static final java.lang.String OPTION_NOT_SUPPORTED
the requested option is not supported

See Also:
Constant Field Values

INVALID_DATE

public static final java.lang.String INVALID_DATE
the date is not parsable

See Also:
Constant Field Values
Constructor Detail

OWSException

public OWSException(java.lang.String message,
                    java.lang.String exceptionCode)
Create a new OWSException.

Parameters:
message - the exception text
exceptionCode - defining a machine readable code.

OWSException

public OWSException(java.lang.String message,
                    java.lang.Throwable cause,
                    java.lang.String exceptionCode)
Create a new OWSException.

Parameters:
message - the exception text
cause - of this exception to happen.
exceptionCode - defining a machine readable code.

OWSException

public OWSException(java.lang.String message,
                    java.lang.String exceptionCode,
                    java.lang.String locator)
Create a new OWSException.

Parameters:
message - the exception text
exceptionCode - defining a machine readable code.
locator - the exception location

OWSException

public OWSException(org.deegree.commons.utils.kvp.InvalidParameterValueException cause)
Creates a new OWSException from an InvalidParameterValueException.

Parameters:
cause - causing exception

OWSException

public OWSException(org.deegree.commons.utils.kvp.MissingParameterException cause)
Creates a new OWSException from an MissingParameterException.

Parameters:
cause - causing exception
Method Detail

getLocator

public final java.lang.String getLocator()
Returns:
the locator


Copyright © 2011. All Rights Reserved.