Class InvalidFieldExpressionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.datastax.astra.client.exceptions.DataAPIException
com.datastax.astra.client.exceptions.DataAPIClientException
com.datastax.astra.client.exceptions.InvalidFieldExpressionException
- All Implemented Interfaces:
Serializable
Error raised during escaping or unescaping a field path.
- See Also:
-
Field Summary
Fields inherited from class com.datastax.astra.client.exceptions.DataAPIException
DEFAULT_ERROR_CODE, DEFAULT_ERROR_MESSAGE, ERROR_CODE_HTTP, ERROR_CODE_INTERRUPTED, ERROR_CODE_RANDOM, ERROR_CODE_SERIALIZATION, ERROR_CODE_TIMEOUT -
Constructor Summary
ConstructorsConstructorDescriptionInvalidFieldExpressionException(ErrorCodesClient code, String message) Constructor with code and message -
Method Summary
Modifier and TypeMethodDescriptionstatic voidthrowInvalidField(String path, String cause) Format error message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidFieldExpressionException
Constructor with code and message- Parameters:
code- error codemessage- error message
-
-
Method Details
-
throwInvalidField
Format error message.- Parameters:
path- current field expressioncause- cause of the error
-