org.deegree.services.controller.exception
Class SOAPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deegree.protocol.ows.exception.OWSException
              extended by 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
 
Constructor Summary
SOAPException(String reason, String code)
           
SOAPException(String reason, String code, OWSException detail)
           
SOAPException(String reason, String code, String[] subcodes)
           
 
Method Summary
 OWSException getDetail()
           
 String getReason()
           
 String[] getSubcodes()
           
 
Methods inherited from class org.deegree.protocol.ows.exception.OWSException
getExceptionCode, getLocator, getMessages
 
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

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
Constructor Detail

SOAPException

public SOAPException(String reason,
                     String code)
Parameters:
reason - of this error
code - of this exception, one of the above

SOAPException

public SOAPException(String reason,
                     String code,
                     String[] subcodes)
Parameters:
reason - of this error
code - of this exception, one of the above
subcodes - 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 error
code - of this exception, one of the above
detail - an ows exeption which will be put in the detail information
Method Detail

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.