jfun.jaskell
Class CompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jfun.jaskell.JaskellException
                  extended by jfun.jaskell.CompilationException
All Implemented Interfaces:
java.io.Serializable

public final class CompilationException
extends JaskellException

Represents a compilcation error of a jaskell source code.

Author:
Ben Yu Jan 3, 2005
See Also:
Serialized Form

Constructor Summary
CompilationException(Location l, java.lang.String msg)
          Create a CompilationException.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompilationException

public CompilationException(Location l,
                            java.lang.String msg)
Create a CompilationException.

Parameters:
l - the location for this error.
msg - the error message.
Method Detail

getMessage

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