org.codehaus.janino
Class CompileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codehaus.janino.util.CausedException
              extended by org.codehaus.janino.CompileException
All Implemented Interfaces:
java.io.Serializable

public class CompileException
extends CausedException

An exception that reflects an error during compilation. This exception is associated with a particular Location in the source code.

See Also:
Serialized Form

Constructor Summary
CompileException(java.lang.String message, Location optionalLocation)
           
CompileException(java.lang.String message, Location optionalLocation, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class org.codehaus.janino.util.CausedException
getCause, initCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompileException

public CompileException(java.lang.String message,
                        Location optionalLocation)

CompileException

public CompileException(java.lang.String message,
                        Location optionalLocation,
                        java.lang.Throwable cause)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable