org.apache.servicemix.soap
Class SoapFault

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.servicemix.soap.SoapFault
All Implemented Interfaces:
Serializable

public class SoapFault
extends Exception

Represents a SOAP fault which occurred while processing the message.

Since:
3.0
Version:
$Revision: 1.5 $
Author:
Guillaume Nodet
See Also:
Serialized Form

Field Summary
static QName RECEIVER
           
static QName SENDER
           
 
Constructor Summary
SoapFault(Exception cause)
           
SoapFault(QName code, QName subcode, String reason)
           
SoapFault(QName code, QName subcode, String reason, URI node, URI role, Source details)
           
SoapFault(QName code, String reason)
           
SoapFault(QName code, String reason, URI node, URI role)
           
SoapFault(QName code, String reason, URI node, URI role, Source details)
           
 
Method Summary
 QName getCode()
           
 Source getDetails()
           
 URI getNode()
           
 String getReason()
           
 URI getRole()
           
 QName getSubcode()
           
 void translateCodeTo11()
           
 void translateCodeTo12()
           
 
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

SENDER

public static final QName SENDER

RECEIVER

public static final QName RECEIVER
Constructor Detail

SoapFault

public SoapFault(Exception cause)

SoapFault

public SoapFault(QName code,
                 String reason)

SoapFault

public SoapFault(QName code,
                 QName subcode,
                 String reason)

SoapFault

public SoapFault(QName code,
                 String reason,
                 URI node,
                 URI role)

SoapFault

public SoapFault(QName code,
                 String reason,
                 URI node,
                 URI role,
                 Source details)

SoapFault

public SoapFault(QName code,
                 QName subcode,
                 String reason,
                 URI node,
                 URI role,
                 Source details)
Method Detail

getCode

public QName getCode()

getSubcode

public QName getSubcode()

getReason

public String getReason()

getNode

public URI getNode()

getRole

public URI getRole()

getDetails

public Source getDetails()

translateCodeTo11

public void translateCodeTo11()

translateCodeTo12

public void translateCodeTo12()


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.