javax.wsdl

Class WSDLException


public class WSDLException
extends Exception

Field Summary

static String
CONFIGURATION_ERROR
static String
INVALID_WSDL
static String
NO_PREFIX_SPECIFIED
static String
OTHER_ERROR
static String
PARSER_ERROR
static String
UNBOUND_PREFIX
static long
serialVersionUID

Constructor Summary

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

Method Summary

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

Field Details

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

UNBOUND_PREFIX

public static final String UNBOUND_PREFIX

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

Constructor Details

WSDLException

public WSDLException(String faultCode,
                     String msg)

WSDLException

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

Method Details

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