Package dev.cel.common
Class CelRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.cel.common.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
-
-
Constructor Summary
Constructors Constructor Description CelRuntimeException(java.lang.Throwable cause, CelErrorCode errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CelErrorCode
getErrorCode()
-
-
-
Constructor Detail
-
CelRuntimeException
public CelRuntimeException(java.lang.Throwable cause, CelErrorCode errorCode)
-
-
Method Detail
-
getErrorCode
public CelErrorCode getErrorCode()
-
-