Package javax.wsdl

Class WSDLException

java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.wsdl.WSDLException
All Implemented Interfaces:
java.io.Serializable

public class WSDLException extends java.lang.Exception
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final java.lang.String
     
    static final java.lang.String
     
    static final java.lang.String
     
    static final java.lang.String
     
    static final java.lang.String
     
    static final long
     
    static final java.lang.String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WSDLException(java.lang.String faultCode, java.lang.String msg)
     
    WSDLException(java.lang.String faultCode, java.lang.String msg, java.lang.Throwable t)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
     
    java.lang.String
    Get the location, if one was set.
    java.lang.String
     
    java.lang.Throwable
     
    void
    setFaultCode(java.lang.String faultCode)
     
    void
    setLocation(java.lang.String location)
    Set the location using an XPath expression.
    void
    setTargetException(java.lang.Throwable targetThrowable)
     

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • WSDLException

      public WSDLException(java.lang.String faultCode, java.lang.String msg, java.lang.Throwable t)
    • WSDLException

      public WSDLException(java.lang.String faultCode, java.lang.String msg)
  • Method Details

    • setFaultCode

      public void setFaultCode(java.lang.String faultCode)
    • getFaultCode

      public java.lang.String getFaultCode()
    • setTargetException

      public void setTargetException(java.lang.Throwable targetThrowable)
    • getTargetException

      public java.lang.Throwable getTargetException()
    • setLocation

      public void setLocation(java.lang.String location)
      Set the location using an XPath expression. Used for error messages.
      Parameters:
      location - an XPath expression describing the location where the exception occurred.
    • getLocation

      public java.lang.String getLocation()
      Get the location, if one was set. Should be an XPath expression which is used for error messages.
    • getMessage

      public java.lang.String getMessage()
      Overrides:
      getMessage in class java.lang.Throwable