Package net.sf.saxon.trans
Class StaticError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.transform.TransformerException
-
- net.sf.saxon.trans.XPathException
-
- net.sf.saxon.trans.StaticError
-
- All Implemented Interfaces:
java.io.Serializable
public class StaticError extends XPathException
Exception used for static errors in XPath, XSLT, or XQuery- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.saxon.trans.XPathException
XPathException.Circularity
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.trans.XPathException
errorCode, errorCodeNamespace, errorObject
-
-
Constructor Summary
Constructors Constructor Description StaticError(java.lang.Exception err)
StaticError(java.lang.String message)
StaticError(java.lang.String message, java.lang.Throwable err)
StaticError(java.lang.String message, javax.xml.transform.SourceLocator loc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticError
makeStatic()
Force an exception to a static errorstatic StaticError
makeStaticError(javax.xml.transform.TransformerException err)
-
Methods inherited from class net.sf.saxon.trans.XPathException
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorObject, hasBeenReported, isTypeError, setErrorCode, setErrorCode, setErrorObject, setHasBeenReported, setIsTypeError
-
Methods inherited from class javax.xml.transform.TransformerException
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
-
-
-
-
Constructor Detail
-
StaticError
public StaticError(java.lang.String message)
-
StaticError
public StaticError(java.lang.Exception err)
-
StaticError
public StaticError(java.lang.String message, java.lang.Throwable err)
-
StaticError
public StaticError(java.lang.String message, javax.xml.transform.SourceLocator loc)
-
-
Method Detail
-
makeStatic
public StaticError makeStatic()
Force an exception to a static error- Overrides:
makeStatic
in classXPathException
-
makeStaticError
public static StaticError makeStaticError(javax.xml.transform.TransformerException err)
-
-