Package org.castor.xmlctf.compiler
Class CompilationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.castor.xmlctf.compiler.CompilationException
- All Implemented Interfaces:
Serializable
Exception that signals a compilation error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of this exception type.CompilationException
(String message) Creates an instance of this exception type.CompilationException
(String message, Throwable cause) Creates an instance of this exception type.CompilationException
(Throwable cause) Creates an instance of this exception type. -
Method Summary
Modifier and TypeMethodDescriptionfinal Throwable
getCause()
Match the JDK 1.4 Throwable version of getCause() on JDKinvalid input: '<'1.4 systems.final void
Print a stack trace to stderr.final void
Print a stack trace to the specified PrintStream.final void
Print a stack trace to the specified PrintWriter.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
CompilationException
public CompilationException()Creates an instance of this exception type. -
CompilationException
Creates an instance of this exception type.- Parameters:
message
- The error messagecause
- The root cause
-
CompilationException
Creates an instance of this exception type.- Parameters:
message
- The error message
-
CompilationException
Creates an instance of this exception type.- Parameters:
cause
- The root cause
-
-
Method Details
-
getCause
Match the JDK 1.4 Throwable version of getCause() on JDKinvalid input: '<'1.4 systems. -
printStackTrace
public final void printStackTrace()Print a stack trace to stderr.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
Print a stack trace to the specified PrintStream.- Overrides:
printStackTrace
in classThrowable
- Parameters:
s
- The PrintStream to print a stack trace to.
-
printStackTrace
Print a stack trace to the specified PrintWriter.- Overrides:
printStackTrace
in classThrowable
- Parameters:
w
- The PrintWriter to print a stack trace to.
-