public class UnfitClientException extends CoordinatorException
Currently, this is used when the client is unable to keep up with the rate during a continuous paging session.
Note that the protocol specification refers to this error as CLIENT_WRITE_FAILURE
; we
don't follow that terminology because it would be too misleading (this is not a client error, and
it doesn't occur while writing data to DSE).
Constructor and Description |
---|
UnfitClientException(Node coordinator,
String message) |
Modifier and Type | Method and Description |
---|---|
UnfitClientException |
copy()
Copy the exception.
|
getCoordinator
getExecutionInfo, setExecutionInfo
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@NonNull public UnfitClientException copy()
DriverException
This returns a new exception, equivalent to the original one, except that because a new object is created in the current thread, the top-most element in the stacktrace of the exception will refer to the current thread. The original exception may or may not be included as the copy's cause, depending on whether that is deemed useful (this is left to the discretion of each implementation).
This is intended for the synchronous wrapper methods of the driver, in order to produce a more user-friendly stack trace (that includes the line in the user code where the driver rethrew the error).
copy
in class DriverException
Copyright © 2017–2020. All rights reserved.