Package net.sf.saxon.trans
Class DynamicError
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.transform.TransformerException
net.sf.saxon.trans.XPathException
net.sf.saxon.trans.DynamicError
- All Implemented Interfaces:
Serializable
Deprecated.
since 9.0 - use the superclass XPathException instead
Subclass of XPathException used for dynamic errors
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.saxon.trans.XPathException
XPathException.Circularity
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicError
(String message) Deprecated.DynamicError
(String message, String errorCode) Deprecated.DynamicError
(String message, String errorCode, XPathContext context) Deprecated.DynamicError
(String message, Throwable err) Deprecated.DynamicError
(String message, SourceLocator loc) Deprecated.DynamicError
(String message, SourceLocator loc, Throwable err) Deprecated.DynamicError
(Throwable err) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the dynamic context at the time the exception occurredstatic DynamicError
Deprecated.void
maybeSetLocation
(SourceLocator locator, XPathContext context) Deprecated.Set the location and/or context of a message, only if they are not already setvoid
setXPathContext
(XPathContext context) Deprecated.Set dynamic context information in the exception objectMethods inherited from class net.sf.saxon.trans.XPathException
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorObject, hasBeenReported, isStaticError, isTypeError, makeStatic, makeXPathException, maybeSetContext, maybeSetLocation, setErrorCode, setErrorCode, setErrorObject, setHasBeenReported, setIsStaticError, setIsTypeError
Methods inherited from class javax.xml.transform.TransformerException
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Constructor Details
-
DynamicError
Deprecated. -
DynamicError
Deprecated. -
DynamicError
Deprecated. -
DynamicError
Deprecated. -
DynamicError
Deprecated. -
DynamicError
Deprecated. -
DynamicError
Deprecated.
-
-
Method Details
-
setXPathContext
Deprecated.Description copied from class:XPathException
Set dynamic context information in the exception object- Overrides:
setXPathContext
in classXPathException
- Parameters:
context
- the dynamic context at the time the exception occurred
-
getXPathContext
Deprecated.Description copied from class:XPathException
Get the dynamic context at the time the exception occurred- Overrides:
getXPathContext
in classXPathException
- Returns:
- the dynamic context if known; otherwise null
-
makeDynamicError
Deprecated. -
maybeSetLocation
Deprecated.Set the location and/or context of a message, only if they are not already set- Parameters:
locator
- the current location (or null)context
- the current context (or null)
-