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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIGURATION_ERRORstatic java.lang.StringINVALID_WSDLstatic java.lang.StringNO_PREFIX_SPECIFIEDstatic java.lang.StringOTHER_ERRORstatic java.lang.StringPARSER_ERRORstatic longserialVersionUIDstatic java.lang.StringUNBOUND_PREFIX
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFaultCode()java.lang.StringgetLocation()Get the location, if one was set.java.lang.StringgetMessage()java.lang.ThrowablegetTargetException()voidsetFaultCode(java.lang.String faultCode)voidsetLocation(java.lang.String location)Set the location using an XPath expression.voidsetTargetException(java.lang.Throwable targetThrowable)
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
INVALID_WSDL
public static final java.lang.String INVALID_WSDL
- See Also:
- Constant Field Values
-
PARSER_ERROR
public static final java.lang.String PARSER_ERROR
- See Also:
- Constant Field Values
-
OTHER_ERROR
public static final java.lang.String OTHER_ERROR
- See Also:
- Constant Field Values
-
CONFIGURATION_ERROR
public static final java.lang.String CONFIGURATION_ERROR
- See Also:
- Constant Field Values
-
UNBOUND_PREFIX
public static final java.lang.String UNBOUND_PREFIX
- See Also:
- Constant Field Values
-
NO_PREFIX_SPECIFIED
public static final java.lang.String NO_PREFIX_SPECIFIED
- See Also:
- Constant Field Values
-
-
Method Detail
-
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:
getMessagein classjava.lang.Throwable
-
-