Package org.exolab.adaptx.xslt
Class PatternException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.exolab.adaptx.xslt.PatternException
-
- All Implemented Interfaces:
java.io.Serializable
public class PatternException extends java.lang.Exception
An exception thrown during parsing of XSLT patterns- Author:
- Keith Visco
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PatternException(java.lang.Exception exception)
Creates a new PatternException with the given nested exception.PatternException(java.lang.String message)
Creates a new PatternExceptionPatternException(java.lang.String message, java.lang.Exception exception)
Creates a new PatternException with the given message and nested exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getException()
Returns the exception, which in turn caused this Exception to be thrown, or null if nested exception exists.java.lang.String
getMessage()
Returns the error message for this Exceptionvoid
printStackTrace()
void
printStackTrace(java.io.PrintStream printer)
void
printStackTrace(java.io.PrintWriter printer)
java.lang.String
toString()
Returns the String representation of this Exception
-
-
-
Constructor Detail
-
PatternException
public PatternException(java.lang.String message)
Creates a new PatternException- Parameters:
message
- the error message for this exception
-
PatternException
public PatternException(java.lang.Exception exception)
Creates a new PatternException with the given nested exception.- Parameters:
exception
- the nested exception
-
PatternException
public PatternException(java.lang.String message, java.lang.Exception exception)
Creates a new PatternException with the given message and nested exception.- Parameters:
message
- the detail message for this exceptionexception
- the nested exception
-
-
Method Detail
-
getException
public java.lang.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 java.lang.String getMessage()
Returns the error message for this Exception- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- the error message
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter printer)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream printer)
- Overrides:
printStackTrace
in classjava.lang.Throwable
-
toString
public java.lang.String toString()
Returns the String representation of this Exception- Overrides:
toString
in classjava.lang.Throwable
- Returns:
- the String representation of this Exception
-
-