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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.aselect.system.communication.server.soap11.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 CLIENT
          Sender fault
static int INTERNAL_SERVER_ERROR
          internal server error fault
static int MUST_UNDERSTAND
          must understand fault
static int SERVER
          Receiver 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 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

CLIENT

public static final int CLIENT
Sender fault

See Also:
Constant Field Values

SERVER

public static final int SERVER
Receiver 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
Method Detail

getCode

public int getCode()
Get the exceptions fault code.

Returns:
The SOAP 1.1 fault code.

getReason

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

Returns:
The SOAP 1.1 fault reason.


Copyright © 2008 SURFnet BV. All Rights Reserved.