public class XmlException extends Exception
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_ERROR |
static String |
INVALID_Schema |
static String |
NO_PREFIX_SPECIFIED |
static String |
OTHER_ERROR |
static String |
PARSER_ERROR |
static long |
serialVersionUID |
static String |
UNBOUND_PREFIX |
| Constructor and Description |
|---|
XmlException(String msg) |
XmlException(String faultCode,
String msg) |
XmlException(String faultCode,
String msg,
Throwable t) |
XmlException(String msg,
Throwable t) |
XmlException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
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) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final long serialVersionUID
public static final String INVALID_Schema
public static final String PARSER_ERROR
public static final String OTHER_ERROR
public static final String CONFIGURATION_ERROR
public static final String UNBOUND_PREFIX
public static final String NO_PREFIX_SPECIFIED
public XmlException(Throwable t)
public XmlException(String msg)
public void setFaultCode(String faultCode)
public String getFaultCode()
public void setTargetException(Throwable targetThrowable)
public Throwable getTargetException()
public void setLocation(String location)
location - an XPath expression describing the location where the
exception occurred.public String getLocation()
public String getMessage()
getMessage in class ThrowableCopyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.