Package dev.cel.common.exceptions
Class CelAttributeNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.cel.common.exceptions.CelRuntimeException
-
- dev.cel.common.exceptions.CelAttributeNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
@Internal public final class CelAttributeNotFoundException extends CelRuntimeException
Indicates an attempt to access a map or object using an invalid attribute or key.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CelAttributeNotFoundExceptionforFieldResolution(java.lang.String... fields)static CelAttributeNotFoundExceptionforFieldResolution(java.util.Collection<java.lang.String> fields)static CelAttributeNotFoundExceptionforMissingAttributes(java.util.Collection<java.lang.String> attributes)static CelAttributeNotFoundExceptionforMissingMapKey(java.lang.String key)static CelAttributeNotFoundExceptionof(java.lang.String message)-
Methods inherited from class dev.cel.common.exceptions.CelRuntimeException
getErrorCode
-
-
-
-
Method Detail
-
of
public static CelAttributeNotFoundException of(java.lang.String message)
-
forMissingMapKey
public static CelAttributeNotFoundException forMissingMapKey(java.lang.String key)
-
forFieldResolution
public static CelAttributeNotFoundException forFieldResolution(java.lang.String... fields)
-
forFieldResolution
public static CelAttributeNotFoundException forFieldResolution(java.util.Collection<java.lang.String> fields)
-
forMissingAttributes
public static CelAttributeNotFoundException forMissingAttributes(java.util.Collection<java.lang.String> attributes)
-
-