Class CustomCompilationException

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()  
      java.lang.String getMessage()  
      • Methods inherited from class gnu.jel.CompilationException

        getColumn, getParameters, getType
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, 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​(java.lang.String msg,
                                          gnu.jel.CompilationException base)
        Constructor.
        Parameters:
        msg - message
        base - existing compilation exception on which this is based
      • CustomCompilationException

        public CustomCompilationException​(java.lang.String msg)
        Constructor.
        Parameters:
        msg - message
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class gnu.jel.CompilationException
      • getCause

        public java.lang.Throwable getCause()
        Overrides:
        getCause in class java.lang.Throwable