org.castor.xmlctf.compiler
Class CompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.castor.xmlctf.compiler.CompilationException
All Implemented Interfaces:
java.io.Serializable

public class CompilationException
extends java.lang.RuntimeException

Exception that signals a compilation error.

See Also:
Serialized Form

Constructor Summary
CompilationException()
          Creates an instance of this exception type.
CompilationException(java.lang.String message)
          Creates an instance of this exception type.
CompilationException(java.lang.String message, java.lang.Throwable cause)
          Creates an instance of this exception type.
CompilationException(java.lang.Throwable cause)
          Creates an instance of this exception type.
 
Method Summary
 java.lang.Throwable getCause()
          Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.
 void printStackTrace()
          Print a stack trace to stderr.
 void printStackTrace(java.io.PrintStream s)
          Print a stack trace to the specified PrintStream.
 void printStackTrace(java.io.PrintWriter w)
          Print a stack trace to the specified PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilationException

public CompilationException()
Creates an instance of this exception type.


CompilationException

public CompilationException(java.lang.String message,
                            java.lang.Throwable cause)
Creates an instance of this exception type.

Parameters:
message - The error message
cause - The root cause

CompilationException

public CompilationException(java.lang.String message)
Creates an instance of this exception type.

Parameters:
message - The error message

CompilationException

public CompilationException(java.lang.Throwable cause)
Creates an instance of this exception type.

Parameters:
cause - The root cause
Method Detail

getCause

public final java.lang.Throwable getCause()
Match the JDK 1.4 Throwable version of getCause() on JDK<1.4 systems.

Overrides:
getCause in class java.lang.Throwable
Returns:
The throwable cause of this exception.

printStackTrace

public final void printStackTrace()
Print a stack trace to stderr.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public final void printStackTrace(java.io.PrintStream s)
Print a stack trace to the specified PrintStream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - The PrintStream to print a stack trace to.

printStackTrace

public final void printStackTrace(java.io.PrintWriter w)
Print a stack trace to the specified PrintWriter.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
w - The PrintWriter to print a stack trace to.


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com