Package javax.wsdl
Class WSDLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.wsdl.WSDLException
-
- All Implemented Interfaces:
Serializable
public class WSDLException extends Exception
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIGURATION_ERRORstatic StringINVALID_WSDLstatic StringNO_PREFIX_SPECIFIEDstatic StringOTHER_ERRORstatic StringPARSER_ERRORstatic longserialVersionUIDstatic StringUNBOUND_PREFIX
-
Constructor Summary
Constructors Constructor Description WSDLException(String faultCode, String msg)WSDLException(String faultCode, String msg, Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFaultCode()StringgetLocation()Get the location, if one was set.StringgetMessage()ThrowablegetTargetException()voidsetFaultCode(String faultCode)voidsetLocation(String location)Set the location using an XPath expression.voidsetTargetException(Throwable targetThrowable)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-
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:
getMessagein classThrowable
-
-