Class XSLException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.adaptx.xslt.XSLException
All Implemented Interfaces:
Serializable

public class XSLException extends Exception
The main exception thrown during XSLT processing
Author:
Keith Visco
See Also:
  • Field Details

  • Constructor Details

    • XSLException

      public XSLException(String message)
      Creates a new XSLException
      Parameters:
      message - the error message for this exception
    • XSLException

      public XSLException(int error, String message)
      Creates a new XSLException
      Parameters:
      error - the error code of this exception
      message - the error message for this exception
    • XSLException

      public XSLException(Exception exception)
      Creates a new XSLException with the given nested exception.
      Parameters:
      exception - the nested exception
    • XSLException

      public XSLException(String message, Exception exception)
      Creates a new XSLException with the given message and nested exception.
      Parameters:
      message - the detail message for this exception
      exception - the nested exception
  • Method Details

    • getException

      public Exception getException()
      Returns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
      Returns:
      the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
    • getMessage

      public String getMessage()
      Returns the error message for this Exception
      Overrides:
      getMessage in class Throwable
      Returns:
      the error message
    • printStackTrace

      public void printStackTrace()
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintWriter printer)
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintStream printer)
      Overrides:
      printStackTrace in class Throwable
    • toString

      public String toString()
      Returns the String representation of this Exception
      Overrides:
      toString in class Throwable
      Returns:
      the String representation of this Exception