org.opensaml.ws.soap.client
Class SOAPFaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensaml.ws.WSException
              extended by org.opensaml.ws.soap.common.SOAPException
                  extended by org.opensaml.ws.soap.client.SOAPFaultException
All Implemented Interfaces:
Serializable

public class SOAPFaultException
extends SOAPException

Exception indicating a SOAP fault.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serial version UID.
private  Fault soapFault
          The fault that caused this exception.
 
Constructor Summary
SOAPFaultException()
          Constructor.
SOAPFaultException(Exception wrappedException)
          Constructor.
SOAPFaultException(String message)
          Constructor.
SOAPFaultException(String message, Exception wrappedException)
          Constructor.
 
Method Summary
 Fault getFault()
          Gets the fault that caused the exception.
 void setFault(Fault fault)
          Sets the fault that caused the exception.
 
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

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

soapFault

private Fault soapFault
The fault that caused this exception.

Constructor Detail

SOAPFaultException

public SOAPFaultException()
Constructor.


SOAPFaultException

public SOAPFaultException(String message)
Constructor.

Parameters:
message - exception message

SOAPFaultException

public SOAPFaultException(Exception wrappedException)
Constructor.

Parameters:
wrappedException - exception to be wrapped by this one

SOAPFaultException

public SOAPFaultException(String message,
                          Exception wrappedException)
Constructor.

Parameters:
message - exception message
wrappedException - exception to be wrapped by this one
Method Detail

getFault

public Fault getFault()
Gets the fault that caused the exception.

Returns:
fault that caused the exception

setFault

public void setFault(Fault fault)
Sets the fault that caused the exception.

Parameters:
fault - fault that caused the exception


Copyright © 1999-2013. All Rights Reserved.