org.n52.oxf.ows
Class OWSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.n52.oxf.ows.OWSException
- All Implemented Interfaces:
- Serializable
public class OWSException
- extends Exception
Represents an Exception occuring while service side execution.
use either one of the provided exception codes or define your own ones.
- Author:
- Theodor Foerster, Arne Broering
- See Also:
- Serialized Form
OPERATION_NOT_SUPPORTED
public static final String OPERATION_NOT_SUPPORTED
- See Also:
- Constant Field Values
MISSING_PARAMETER_VALUE
public static final String MISSING_PARAMETER_VALUE
- See Also:
- Constant Field Values
INVALID_PARAMTER_VALUE
public static final String INVALID_PARAMTER_VALUE
- See Also:
- Constant Field Values
VERSION_NEGOTIATION_FOUND
public static final String VERSION_NEGOTIATION_FOUND
- See Also:
- Constant Field Values
INVALID_UPDATE_SEQUENCE
public static final String INVALID_UPDATE_SEQUENCE
- See Also:
- Constant Field Values
NO_APPLICABLE_CODE
public static final String NO_APPLICABLE_CODE
- See Also:
- Constant Field Values
OWSException
public OWSException(String[] exceptionTexts,
String exceptionCode,
String sendedRequest)
- Parameters:
exceptionTexts
- exceptionCode
- sendedRequest
-
OWSException
public OWSException(String[] exceptionTexts,
String exceptionCode,
String sendedRequest,
String locator)
- Parameters:
exceptionTexts
- exceptionCode
- sendedRequest
- locator
-
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
toHtmlString
public String toHtmlString()
- Returns:
- a HTML representation of this OWSException
getExceptionCode
public String getExceptionCode()
- Returns:
- Returns the exceptionCode.
getExceptionTexts
public String[] getExceptionTexts()
- Returns:
- Returns the exceptionTexts.
getSendedRequest
public String getSendedRequest()
getLocator
public String getLocator()
- indicates in which part the exception occured. This is optional!
- Returns:
- Returns the locator.
setLocator
public void setLocator(String locator)
- indicates in which part the exception occured. This is optional!
- Parameters:
locator
- The locator to set.
Copyright © 2012-2013 52north.org. All Rights Reserved.