uk.ac.starlink.ttools.jel
Class CustomCompilationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gnu.jel.CompilationException
              extended by uk.ac.starlink.ttools.jel.CustomCompilationException
All Implemented Interfaces:
Serializable

public class CustomCompilationException
extends gnu.jel.CompilationException

Specialised subclass of JEL's CompilationException. This is provided so that new CompilationExceptions can be generated by code other than that in the JEL librarry - the constructors for the superclass are rather opaque.

Since:
1 Nov 2008
Author:
Mark Taylor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gnu.jel.CompilationException
col
 
Constructor Summary
CustomCompilationException(String msg)
          Constructor.
CustomCompilationException(String msg, gnu.jel.CompilationException base)
          Constructor.
 
Method Summary
 Throwable getCause()
           
 String getMessage()
           
 
Methods inherited from class gnu.jel.CompilationException
getColumn, getParameters, getType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

CustomCompilationException

public CustomCompilationException(String msg,
                                  gnu.jel.CompilationException base)
Constructor.

Parameters:
msg - message
base - existing compilation exception on which this is based

CustomCompilationException

public CustomCompilationException(String msg)
Constructor.

Parameters:
msg - message
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class gnu.jel.CompilationException

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.