Package org.exolab.adaptx.xslt
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 Exceptionvoid
void
printStackTrace
(PrintStream printer) void
printStackTrace
(PrintWriter printer) toString()
Returns the String representation of this ExceptionMethods inherited from class java.lang.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
Creates a new PatternException with the given message and nested exception.- Parameters:
message
- the detail message for this exceptionexception
- the nested exception
-
-
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:
getMessage
in classThrowable
- Returns:
- the error message
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
toString
Returns the String representation of this Exception
-