org.exolab.adaptx.xslt

Class PatternException


public class PatternException
extends Exception

An exception thrown during parsing of XSLT patterns
Author:
Keith Visco

Constructor Summary

PatternException(Exception exception)
Creates a new PatternException with the given nested exception.
PatternException(String message)
Creates a new PatternException
PatternException(String message, Exception exception)
Creates a new PatternException with the given message and nested exception.

Method Summary

Exception
getException()
Returns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
String
getMessage()
Returns the error message for this Exception
void
printStackTrace()
void
printStackTrace(PrintStream printer)
void
printStackTrace(PrintWriter printer)
String
toString()
Returns the String representation of this Exception

Constructor Details

PatternException

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

PatternException

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

PatternException

public PatternException(String message,
                        Exception exception)
Creates a new PatternException 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
Returns:
the error message

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintStream printer)

printStackTrace

public void printStackTrace(PrintWriter printer)

toString

public String toString()
Returns the String representation of this Exception
Returns:
the String representation of this Exception