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(String message)
Creates a new PatternException
PatternException(Exception exception)
Creates a new PatternException with the given nested exception.
PatternException(String message, Exception exception)
Creates a new PatternException with the given message and nested exception.
Method Summary
ExceptiongetException()
Returns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.
StringgetMessage()
Returns the error message for this Exception
voidprintStackTrace()
voidprintStackTrace(PrintWriter printer)
voidprintStackTrace(PrintStream printer)
StringtoString()
Returns the String representation of this Exception

Constructor Detail

PatternException

public PatternException(String message)
Creates a new PatternException

Parameters: message the error message for this exception

PatternException

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

Parameters: exception the nested 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 Detail

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(PrintWriter printer)

printStackTrace

public void printStackTrace(PrintStream printer)

toString

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

Returns: the String representation of this Exception