Class TerminationException

All Implemented Interfaces:
Serializable

public class TerminationException extends XPathException
An exception thrown by xsl:message terminate="yes".
See Also:
  • Constructor Details

    • TerminationException

      public TerminationException(String exceptionText, Message messageContent)
      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

      public Message getFinalMessage()
      Get the Message object that resulted in this exception
      Returns:
      the Message