org.deegree.services.controller.exception
Class SOAPException

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.exception.SOAPException
All Implemented Interfaces:
java.io.Serializable

public class SOAPException
extends ControllerException

The SoapException class wraps the soap specific fault parameters.

Version:
$Revision: 18171 $, $Date: 2009-06-17 16:00:07 +0200 (Mi, 17. Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
static java.lang.String DATA_ENCODING
          SOAP error code, the receiver does not support given character encoding
static java.lang.String MUST_UNDERSTAND
          SOAP error code, the receiver does not understand the required functionality
static java.lang.String RECEIVER
          SOAP error code, the receiver is not able to handle the request without knowing the contents of the body.
static java.lang.String SENDER
          SOAP error code, the receiver is not able to handle the request given in the body.
static java.lang.String VERSION_MISMATCH
          SOAP error code, the receiver expects a different SOAP version.
 
Fields inherited from class org.deegree.services.controller.exception.ControllerException
NO_APPLICABLE_CODE
 
Constructor Summary
SOAPException(java.lang.String reason, java.lang.String code)
           
SOAPException(java.lang.String reason, java.lang.String code, OWSException detail)
           
SOAPException(java.lang.String reason, java.lang.String code, java.lang.String[] subcodes)
           
 
Method Summary
 OWSException getDetail()
           
 java.lang.String getReason()
           
 java.lang.String[] getSubcodes()
           
 
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

VERSION_MISMATCH

public static final java.lang.String VERSION_MISMATCH
SOAP error code, the receiver expects a different SOAP version.

See Also:
Constant Field Values

MUST_UNDERSTAND

public static final java.lang.String MUST_UNDERSTAND
SOAP error code, the receiver does not understand the required functionality

See Also:
Constant Field Values

DATA_ENCODING

public static final java.lang.String DATA_ENCODING
SOAP error code, the receiver does not support given character encoding

See Also:
Constant Field Values

SENDER

public static final java.lang.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 java.lang.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(java.lang.String reason,
                     java.lang.String code)
Parameters:
reason - of this error
code - of this exception, one of the above

SOAPException

public SOAPException(java.lang.String reason,
                     java.lang.String code,
                     java.lang.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(java.lang.String reason,
                     java.lang.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 java.lang.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 java.lang.String[] getSubcodes()
Returns:
the subcodes


Copyright © 2011. All Rights Reserved.