public class SchemaException extends XmlException
| 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 |
INVALID_Schema| Constructor and Description |
|---|
SchemaException(String msg) |
SchemaException(String faultCode,
String msg) |
SchemaException(String faultCode,
String msg,
Throwable t) |
SchemaException(String msg,
Throwable t) |
SchemaException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFaultCode() |
String |
getLocation()
Get the location, if one was set.
|
Throwable |
getTargetException() |
void |
setFaultCode(String faultCode) |
void |
setLocation(String location)
Set the location using an XPath expression.
|
void |
setTargetException(Throwable targetThrowable) |
getMessageaddSuppressed, 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 SchemaException(Throwable t)
public SchemaException(String msg)
public void setFaultCode(String faultCode)
setFaultCode in class XmlExceptionpublic String getFaultCode()
getFaultCode in class XmlExceptionpublic void setTargetException(Throwable targetThrowable)
setTargetException in class XmlExceptionpublic Throwable getTargetException()
getTargetException in class XmlExceptionpublic void setLocation(String location)
setLocation in class XmlExceptionlocation - an XPath expression describing the location where the
exception occurred.public String getLocation()
getLocation in class XmlExceptionCopyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.