org.aselect.system.communication.server.soap12
Class ASOAPException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.aselect.system.communication.server.soap12.ASOAPException
All Implemented Interfaces:
java.io.Serializable

public class ASOAPException
extends java.lang.Exception

An exception that is used to create SOAP fault elements.

Description:
An ASOAPException represents SOAP faults. If processing an incomming SOAP message fails, an ASOAPException can be throwed. After catching a ASOAPException it can be converted to a SOAP response message containing a SOAP fault.

For more info see: SOAP fault handling

Concurrency issues:
-

Author:
Alfa & Ariss
See Also:
Serialized Form

Field Summary
static int DATA_ENCODING_UNKNOWN
          Data encoding unknown fault.
static int INTERNAL_SERVER_ERROR
          Internal server error fault.
static int MUST_UNDERSTAND
          Must understand fault.
static int RECEIVER
          Receiver fault.
static int SENDER
          Sender fault.
static int SOAP_11
          SOAP 1.1 received fault.
static int UNSUPPORTED_CONTENT_TYPE
          Unsupported content type fault.
static int VERSION_MISMATCH
          Version mismatch fault.
 
Method Summary
 int getCode()
          Get the exceptions fault code.
 java.lang.String getReason()
          Get the exceptions fault reason.
 
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 int VERSION_MISMATCH
Version mismatch fault.

See Also:
Constant Field Values

MUST_UNDERSTAND

public static final int MUST_UNDERSTAND
Must understand fault.

See Also:
Constant Field Values

SENDER

public static final int SENDER
Sender fault.

See Also:
Constant Field Values

RECEIVER

public static final int RECEIVER
Receiver fault.

See Also:
Constant Field Values

DATA_ENCODING_UNKNOWN

public static final int DATA_ENCODING_UNKNOWN
Data encoding unknown fault.

See Also:
Constant Field Values

UNSUPPORTED_CONTENT_TYPE

public static final int UNSUPPORTED_CONTENT_TYPE
Unsupported content type fault.

See Also:
Constant Field Values

INTERNAL_SERVER_ERROR

public static final int INTERNAL_SERVER_ERROR
Internal server error fault.

See Also:
Constant Field Values

SOAP_11

public static final int SOAP_11
SOAP 1.1 received fault.

See Also:
Constant Field Values
Method Detail

getCode

public int getCode()
Get the exceptions fault code.

Returns:
The SOAP 1.2 fault code.

getReason

public java.lang.String getReason()
Get the exceptions fault reason.

Returns:
The SOAP 1.2 fault reason.


Copyright © 2008 SURFnet BV. All Rights Reserved.