public class DynamicError extends XPathException
XPathException.Circularity
Constructor | Description |
---|---|
DynamicError(java.lang.String message) |
Deprecated.
|
DynamicError(java.lang.String message,
java.lang.String errorCode) |
Deprecated.
|
DynamicError(java.lang.String message,
java.lang.String errorCode,
XPathContext context) |
Deprecated.
|
DynamicError(java.lang.String message,
java.lang.Throwable err) |
Deprecated.
|
DynamicError(java.lang.String message,
javax.xml.transform.SourceLocator loc) |
Deprecated.
|
DynamicError(java.lang.String message,
javax.xml.transform.SourceLocator loc,
java.lang.Throwable err) |
Deprecated.
|
DynamicError(java.lang.Throwable err) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
XPathContext |
getXPathContext() |
Deprecated.
Get the dynamic context at the time the exception occurred
|
static DynamicError |
makeDynamicError(javax.xml.transform.TransformerException err) |
Deprecated.
|
void |
maybeSetLocation(javax.xml.transform.SourceLocator locator,
XPathContext context) |
Deprecated.
Set the location and/or context of a message, only if they are
not already set
|
void |
setXPathContext(XPathContext context) |
Deprecated.
Set dynamic context information in the exception object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorObject, hasBeenReported, isStaticError, isTypeError, makeStatic, makeXPathException, maybeSetContext, maybeSetLocation, setErrorCode, setErrorCode, setErrorObject, setHasBeenReported, setIsStaticError, setIsTypeError
public DynamicError(java.lang.String message)
public DynamicError(java.lang.Throwable err)
public DynamicError(java.lang.String message, java.lang.Throwable err)
public DynamicError(java.lang.String message, javax.xml.transform.SourceLocator loc)
public DynamicError(java.lang.String message, javax.xml.transform.SourceLocator loc, java.lang.Throwable err)
public DynamicError(java.lang.String message, java.lang.String errorCode)
public DynamicError(java.lang.String message, java.lang.String errorCode, XPathContext context)
public void setXPathContext(XPathContext context)
XPathException
setXPathContext
in class XPathException
context
- the dynamic context at the time the exception occurredpublic XPathContext getXPathContext()
XPathException
getXPathContext
in class XPathException
public static DynamicError makeDynamicError(javax.xml.transform.TransformerException err)
public void maybeSetLocation(javax.xml.transform.SourceLocator locator, XPathContext context)
locator
- the current location (or null)context
- the current context (or null)