Package dev.cel.common
Class CelValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- dev.cel.common.CelException
-
- dev.cel.common.CelValidationException
-
- All Implemented Interfaces:
java.io.Serializable
public final class CelValidationException extends CelException
Base class for all checked exceptions explicitly thrown by the library during parsing.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CelValidationException(CelSource source, java.util.List<CelIssue> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<CelIssue>
getErrors()
Returns a list ofCelIssue
with error severity that occurred during validation.CelSource
getSource()
Returns theCelSource
that was being validated.-
Methods inherited from class dev.cel.common.CelException
getErrorCode
-
-