Class FaultException

java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.soa.api.invocation.FaultException
All Implemented Interfaces:
Serializable

public class FaultException extends Exception
Business Fault message holder object
  • Constructor Details

    • FaultException

      public FaultException(String faultName, Message faultMessage)
      Creates an instance of FaultException with given faultName and content
      Parameters:
      faultName - the name of the fault
      faultMessage - the fault message
  • Method Details

    • getFaultMessage

      public Message getFaultMessage()
      Get the fault detail message
      Returns:
      The fault message
    • getFaultName

      public String getFaultName()
      Get the fault name
      Returns:
      The fault name as it is described in the WSDL definition
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable