Package javax.wsdl
Class WSDLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.wsdl.WSDLException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWSDLException
(String faultCode, String msg) WSDLException
(String faultCode, String msg, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionGet the location, if one was set.void
setFaultCode
(String faultCode) void
setLocation
(String location) Set the location using an XPath expression.void
setTargetException
(Throwable targetThrowable) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
INVALID_WSDL
- See Also:
-
PARSER_ERROR
- See Also:
-
OTHER_ERROR
- See Also:
-
CONFIGURATION_ERROR
- See Also:
-
UNBOUND_PREFIX
- See Also:
-
NO_PREFIX_SPECIFIED
- See Also:
-
-
Constructor Details
-
WSDLException
-
WSDLException
-
-
Method Details
-
setFaultCode
-
getFaultCode
-
setTargetException
-
getTargetException
-
setLocation
Set the location using an XPath expression. Used for error messages.- Parameters:
location
- an XPath expression describing the location where the exception occurred.
-
getLocation
Get the location, if one was set. Should be an XPath expression which is used for error messages. -
getMessage
- Overrides:
getMessage
in classThrowable
-