javax.wsdl

Class WSDLException

public class WSDLException extends Exception

Field Summary
static StringCONFIGURATION_ERROR
static StringINVALID_WSDL
static StringNO_PREFIX_SPECIFIED
static StringOTHER_ERROR
static StringPARSER_ERROR
static longserialVersionUID
static StringUNBOUND_PREFIX
Constructor Summary
WSDLException(String faultCode, String msg, Throwable t)
WSDLException(String faultCode, String msg)
Method Summary
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)
StringtoString()

Field Detail

CONFIGURATION_ERROR

public static final String CONFIGURATION_ERROR

INVALID_WSDL

public static final String INVALID_WSDL

NO_PREFIX_SPECIFIED

public static final String NO_PREFIX_SPECIFIED

OTHER_ERROR

public static final String OTHER_ERROR

PARSER_ERROR

public static final String PARSER_ERROR

serialVersionUID

public static final long serialVersionUID

UNBOUND_PREFIX

public static final String UNBOUND_PREFIX

Constructor Detail

WSDLException

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

WSDLException

public WSDLException(String faultCode, String msg)

Method Detail

getFaultCode

public String getFaultCode()

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()

getTargetException

public Throwable getTargetException()

setFaultCode

public void setFaultCode(String faultCode)

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.

setTargetException

public void setTargetException(Throwable targetThrowable)

toString

public String toString()
Copyright B) 2003,2005 IBM. All Rights Reserved.