public class BulkExecutionException extends RuntimeException
BulkExecutor fails to execute a Statement.
This exception allows user code to inspect the Statement that failed, via the method
getStatement(), and the cause of such failure, via the Throwable.getCause() method.
| Constructor and Description |
|---|
BulkExecutionException(Throwable cause,
Statement<?> statement) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
Statement<?> |
getStatement()
The
Statement that caused the execution failure. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017–2021 DataStax. All rights reserved.