Package dev.cel.common.exceptions
Class CelRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.cel.common.exceptions.CelRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CelAttributeNotFoundException,CelBadFormatException,CelDivideByZeroException,CelDuplicateKeyException,CelIndexOutOfBoundsException,CelInvalidArgumentException,CelIterationLimitExceededException,CelNumericOverflowException,CelOverloadNotFoundException
@Internal public abstract class CelRuntimeException extends java.lang.RuntimeExceptionWrapper for an unchecked runtime exception with a CelErrorCode supplied.Note: This is not to be confused with the notion of CEL Runtime. Use
CelEvaluationExceptioninstead to signify an evaluation error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CelRuntimeException(java.lang.Throwable cause, dev.cel.common.CelErrorCode errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description dev.cel.common.CelErrorCodegetErrorCode()
-