Package net.sf.saxon.expr.instruct
Class TerminationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.transform.TransformerException
net.sf.saxon.trans.XPathException
net.sf.saxon.expr.instruct.TerminationException
- All Implemented Interfaces:
Serializable
An exception thrown by xsl:message terminate="yes".
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.saxon.trans.XPathException
XPathException.Circularity, XPathException.StackOverflow -
Constructor Summary
ConstructorsConstructorDescriptionTerminationException(String exceptionText, Message messageContent) Construct a TerminationException -
Method Summary
Modifier and TypeMethodDescriptionGet the Message object that resulted in this exceptionMethods inherited from class net.sf.saxon.trans.XPathException
asStaticError, asTypeError, asTypeErrorIf, fromXmlProcessingError, getErrorCodeQName, getErrorObject, getFailingExpression, getHostLanguage, getLocator, getXPathContext, hasBeenReported, hasErrorCode, hasStandardErrorCode, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, maybeWithContext, maybeWithErrorCode, maybeWithFailingExpression, maybeWithLocation, replacingErrorCode, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setHostLanguage, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContext, showErrorCode, withErrorCode, withErrorCode, withFailingExpression, withLocation, withMessage, withXPathContextMethods inherited from class javax.xml.transform.TransformerException
getCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Constructor Details
-
TerminationException
Construct a TerminationException- Parameters:
exceptionText- the exception text of the message to be output (typically indicating that processing was terminated by use of xsl:message)messageContent- the final xsl:message content that led to termination
-
-
Method Details
-
getFinalMessage
Get the Message object that resulted in this exception- Returns:
- the Message
-