org.deegree.services.controller.exception
Class SOAPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.deegree.protocol.ows.exception.OWSException
org.deegree.services.controller.exception.SOAPException
- All Implemented Interfaces:
- Serializable
public class SOAPException
- extends OWSException
The SoapException
class wraps the soap specific fault parameters.
- Version:
- $Revision: 31688 $, $Date: 2011-08-30 15:05:12 +0200 (Tue, 30 Aug 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: mschneider $
- See Also:
- Serialized Form
Field Summary |
static String |
DATA_ENCODING
SOAP error code, the receiver does not support given character encoding |
static String |
MUST_UNDERSTAND
SOAP error code, the receiver does not understand the required functionality |
static String |
RECEIVER
SOAP error code, the receiver is not able to handle the request without knowing the contents of the body. |
static String |
SENDER
SOAP error code, the receiver is not able to handle the request given in the body. |
static String |
VERSION_MISMATCH
SOAP error code, the receiver expects a different SOAP version. |
Fields inherited from class org.deegree.protocol.ows.exception.OWSException |
CURRENT_UPDATE_SEQUENCE, INVALID_CRS, INVALID_DATE, INVALID_FORMAT, INVALID_PARAMETER_VALUE, INVALID_POINT, INVALID_SRS, INVALID_UPDATE_SEQUENCE, LAYER_NOT_DEFINED, MISSING_PARAMETER_VALUE, NO_APPLICABLE_CODE, OPERATION_NOT_SUPPORTED, OPTION_NOT_SUPPORTED, STYLE_NOT_DEFINED, VERSION_NEGOTIATION_FAILED |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
VERSION_MISMATCH
public static final String VERSION_MISMATCH
- SOAP error code, the receiver expects a different SOAP version.
- See Also:
- Constant Field Values
MUST_UNDERSTAND
public static final String MUST_UNDERSTAND
- SOAP error code, the receiver does not understand the required functionality
- See Also:
- Constant Field Values
DATA_ENCODING
public static final String DATA_ENCODING
- SOAP error code, the receiver does not support given character encoding
- See Also:
- Constant Field Values
SENDER
public static final String SENDER
- SOAP error code, the receiver is not able to handle the request given in the body.
- See Also:
- Constant Field Values
RECEIVER
public static final String RECEIVER
- SOAP error code, the receiver is not able to handle the request without knowing the contents of the body.
- See Also:
- Constant Field Values
SOAPException
public SOAPException(String reason,
String code)
- Parameters:
reason
- of this errorcode
- of this exception, one of the above
SOAPException
public SOAPException(String reason,
String code,
String[] subcodes)
- Parameters:
reason
- of this errorcode
- of this exception, one of the abovesubcodes
- an array of strings which will be added in the subcodes of the Fault/Code node.
SOAPException
public SOAPException(String reason,
String code,
OWSException detail)
- Parameters:
reason
- of this errorcode
- of this exception, one of the abovedetail
- an ows exeption which will be put in the detail information
getReason
public final String getReason()
- Returns:
- the reason of this exception, which is the same as calling getMessage
getDetail
public final OWSException getDetail()
- Returns:
- the detail
getSubcodes
public final String[] getSubcodes()
- Returns:
- the subcodes
Copyright © 2011. All Rights Reserved.