Class PatternException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.adaptx.xslt.PatternException
- All Implemented Interfaces:
Serializable
An exception thrown during parsing of XSLT patterns
- Author:
- Keith Visco
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPatternException(Exception exception) Creates a new PatternException with the given nested exception.PatternException(String message) Creates a new PatternExceptionPatternException(String message, Exception exception) Creates a new PatternException with the given message and nested exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.Returns the error message for this ExceptionvoidvoidprintStackTrace(PrintStream printer) voidprintStackTrace(PrintWriter printer) toString()Returns the String representation of this ExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
PatternException
Creates a new PatternException- Parameters:
message- the error message for this exception
-
PatternException
Creates a new PatternException with the given nested exception.- Parameters:
exception- the nested exception
-
PatternException
-
-
Method Details
-
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
Returns the error message for this Exception- Overrides:
getMessagein classThrowable- Returns:
- the error message
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
toString
-