|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.xml.transform.TransformerException net.sf.saxon.trans.XPathException net.sf.saxon.trans.DynamicError
public class DynamicError
Subclass of XPathException used for dynamic errors
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.saxon.trans.XPathException |
---|
XPathException.Circularity |
Constructor Summary | |
---|---|
DynamicError(String message)
Deprecated. |
|
DynamicError(String message,
SourceLocator loc)
Deprecated. |
|
DynamicError(String message,
SourceLocator loc,
Throwable err)
Deprecated. |
|
DynamicError(String message,
String errorCode)
Deprecated. |
|
DynamicError(String message,
String errorCode,
XPathContext context)
Deprecated. |
|
DynamicError(String message,
Throwable err)
Deprecated. |
|
DynamicError(Throwable err)
Deprecated. |
Method Summary | |
---|---|
XPathContext |
getXPathContext()
Deprecated. Get the dynamic context at the time the exception occurred |
static DynamicError |
makeDynamicError(TransformerException err)
Deprecated. |
void |
maybeSetLocation(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 |
Methods 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 |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DynamicError(String message)
public DynamicError(Throwable err)
public DynamicError(String message, Throwable err)
public DynamicError(String message, SourceLocator loc)
public DynamicError(String message, SourceLocator loc, Throwable err)
public DynamicError(String message, String errorCode)
public DynamicError(String message, String errorCode, XPathContext context)
Method Detail |
---|
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(TransformerException err)
public void maybeSetLocation(SourceLocator locator, XPathContext context)
locator
- the current location (or null)context
- the current context (or null)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |