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 ThrowablegetCause()Match the JDK 1.4 Throwable version of getCause() on JDKinvalid input: '<'1.4 systems.final voidPrint a stack trace to stderr.final voidPrint a stack trace to the specified PrintStream.final voidPrint 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:
printStackTracein classThrowable
-
printStackTrace
Print a stack trace to the specified PrintStream.- Overrides:
printStackTracein classThrowable- Parameters:
s- The PrintStream to print a stack trace to.
-
printStackTrace
Print a stack trace to the specified PrintWriter.- Overrides:
printStackTracein classThrowable- Parameters:
w- The PrintWriter to print a stack trace to.
-