org.apache.woden

## Class WSDLException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.woden.WSDLException

- All Implemented Interfaces:
    Serializable

      public class WSDLException
      extends Exception

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `CONFIGURATION_ERROR`
    `static String` | `INVALID_WSDL`
    `static String` | `NO_PREFIX_SPECIFIED`
    `static String` | `OTHER_ERROR`
    `static String` | `PARSER_ERROR`
    `static long` | `serialVersionUID`
    `static String` | `UNBOUND_PREFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WSDLException(String faultCode, String msg)`
    `WSDLException(String faultCode, String msg, Throwable t)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getFaultCode()`
    `String` | `getLocation()` Get the location, if one was set.
    `String` | `getMessage()`
    `Throwable` | `getTargetException()`
    `void` | `setFaultCode(String faultCode)`
    `void` | `setLocation(String location)` Set the location using an XPath expression.
    `void` | `setTargetException(Throwable targetThrowable)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Throwable

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### serialVersionUID

          public static final long serialVersionUID

      See Also:
        Constant Field Values

    - #### INVALID_WSDL

          public static final String INVALID_WSDL

      See Also:
        Constant Field Values

    - #### PARSER_ERROR

          public static final String PARSER_ERROR

      See Also:
        Constant Field Values

    - #### OTHER_ERROR

          public static final String OTHER_ERROR

      See Also:
        Constant Field Values

    - #### CONFIGURATION_ERROR

          public static final String CONFIGURATION_ERROR

      See Also:
        Constant Field Values

    - #### UNBOUND_PREFIX

          public static final String UNBOUND_PREFIX

      See Also:
        Constant Field Values

    - #### NO_PREFIX_SPECIFIED

          public static final String NO_PREFIX_SPECIFIED

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### WSDLException

          public WSDLException(String faultCode,
                       String msg,
                       Throwable t)

    - #### WSDLException

          public WSDLException(String faultCode,
                       String msg)

  - ### Method Detail

    - #### setFaultCode

          public void setFaultCode(String faultCode)

    - #### getFaultCode

          public String getFaultCode()

    - #### setTargetException

          public void setTargetException(Throwable targetThrowable)

    - #### getTargetException

          public Throwable getTargetException()

    - #### setLocation

          public void setLocation(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 String getLocation()

      Get the location, if one was set. Should be an XPath expression which is used for error messages.

    - #### getMessage

          public String getMessage()

      Overrides:
        `getMessage` in class `Throwable`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`

Copyright ? Apache Software Foundation. All Rights Reserved.