Class SOAPFaultException

All Implemented Interfaces:
Serializable

public class SOAPFaultException extends SOAPException
Exception indicating a SOAP fault.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial version UID.
      See Also:
    • soapFault

      @Nullable private Fault soapFault
      The fault that caused this exception.
  • Constructor Details

    • SOAPFaultException

      public SOAPFaultException()
      Constructor.
    • SOAPFaultException

      public SOAPFaultException(@Nullable String message)
      Constructor.
      Parameters:
      message - exception message
    • SOAPFaultException

      public SOAPFaultException(@Nullable Exception wrappedException)
      Constructor.
      Parameters:
      wrappedException - exception to be wrapped by this one
    • SOAPFaultException

      public SOAPFaultException(@Nullable String message, @Nullable Exception wrappedException)
      Constructor.
      Parameters:
      message - exception message
      wrappedException - exception to be wrapped by this one
  • Method Details

    • getFault

      @Nullable public Fault getFault()
      Gets the fault that caused the exception.
      Returns:
      fault that caused the exception
    • setFault

      public void setFault(@Nullable Fault fault)
      Sets the fault that caused the exception.
      Parameters:
      fault - fault that caused the exception