Class ExpressionEngineException

  • All Implemented Interfaces:
    Serializable

    public class ExpressionEngineException
    extends Exception
    This exception is used by whole Expression Engine Component to share any Erroneous information with user of the component, like at the time of parsing or by the compiler while doing syntactical analysis.
    See Also:
    Serialized Form
    • Constructor Detail

      • ExpressionEngineException

        public ExpressionEngineException​(String msg)
        Constructs the ExpressionEngineException
        Parameters:
        msg - the massege given by parser to tell the error.
      • ExpressionEngineException

        public ExpressionEngineException​(String msg,
                                         Throwable e)
        Constructs the ExpressionEngineException
        Parameters:
        msg - the massege given by parser to tell the error.
        e - Exception to wrap
      • ExpressionEngineException

        public ExpressionEngineException​(String msg,
                                         int errorCode,
                                         Throwable e)
        Constructs the ExpressionEngineException
        Parameters:
        msg - the massege given by parser to tell the error
        errorCode - code representing the error type
        e - Exception to wrap
      • ExpressionEngineException

        public ExpressionEngineException​(String message,
                                         int errorCode,
                                         Throwable cause,
                                         boolean debug)
    • Method Detail

      • getErrorCode

        public final int getErrorCode()
      • getErrorDescription

        protected String getErrorDescription()