Package com.veeva.vault.sdk.api.query
Interface QueryOperationError
public interface QueryOperationError
Represents a VQL query operation error.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a human-readable error message.Retrieves the type of error encountered during aQueryOperation
execution.Retrieves the query string that failed.
-
Method Details
-
getQueryOperationErrorType
QueryOperationErrorType getQueryOperationErrorType()Retrieves the type of error encountered during aQueryOperation
execution.- Returns:
- the non-null query operation error type
-
getMessage
String getMessage()Retrieves a human-readable error message.An error message of this form should not be used to make programmatic decisions.
- Returns:
- a non-null human-readable error message
-
getQueryString
String getQueryString()Retrieves the query string that failed. If tokens are used, then the tokens in the query string are not resolved.- Returns:
- the failed query string
-