org.deegree.ogcwebservices
Class OGCWebServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.deegree.ogcbase.OGCException
org.deegree.ogcwebservices.OGCWebServiceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CurrentUpdateSequenceException, InconsistentRequestException, InvalidCapabilitiesException, InvalidConfigurationException, InvalidCoverageDescriptionExcpetion, InvalidCVExtensionException, InvalidGMLException, InvalidParameterValueException, InvalidSRSException, InvalidUpdateSequenceException, LayerNotDefinedException, LayerNotQueryableException, MissingParameterValueException, NoApplicableCodeException, NonexistentCollectionException, NonexistentTypeException, OperationNotSupportedException, PrintMapServiceException, ServerBusyException, StyleNotDefinedException, UnknownCVExtensionException, VersionNegotiationFailedException, WCSException
public class OGCWebServiceException
- extends OGCException
- Since:
- 2.0
- Version:
- 1.0. $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OGCWebServiceException
public OGCWebServiceException(String message)
- Parameters:
message
-
OGCWebServiceException
public OGCWebServiceException(String message,
ExceptionCode code)
- Parameters:
message
- code
- of the exception, often defined in the web service spec.
OGCWebServiceException
public OGCWebServiceException(String locator,
String message)
- Parameters:
locator
- message
-
OGCWebServiceException
public OGCWebServiceException(String locator,
String message,
ExceptionCode code)
- Parameters:
locator
- message
- code
-
create
public static OGCWebServiceException create(Document doc)
- creates an OGCWebServiceException from a DOM object as defined in the OGC common
implementation specification
- Parameters:
doc
-
- Returns:
- an
OGCWebServiceException
with the message, code and locator set to the xml
inside the document.
create
public static OGCWebServiceException create(Element root)
- creates an OGCWebServiceException from a DOM Element object as defined in the OGC common
implementation specification
- Parameters:
root
-
- Returns:
- an
OGCWebServiceException
with the message, code and locator set to the xml
inside the document.
getLocator
public String getLocator()
- Returns:
- the class/service that has caused the exception
setLocator
public void setLocator(String locator)
- Parameters:
locator
- sets the class/service that has caused the exception
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net