Class CelRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    @Internal
    public class CelRuntimeException
    extends java.lang.RuntimeException
    Wrapper for an unchecked runtime exception with a CelErrorCode supplied.

    Note: This is not to be confused with the notion of CEL Runtime. Use CelEvaluationException instead to signify an evaluation error.

    TODO: Make this class abstract and define specific exception classes that corresponds to the CelErrorCode.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CelErrorCode getErrorCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • CelRuntimeException

        public CelRuntimeException​(java.lang.Throwable cause,
                                   CelErrorCode errorCode)