public class WriteTimeoutException extends QueryTimeoutException
| Constructor and Description |
|---|
WriteTimeoutException(ConsistencyLevel consistency,
WriteType writeType,
int received,
int required)
This constructor should only be used internally by the driver
when decoding error responses.
|
WriteTimeoutException(InetSocketAddress address,
ConsistencyLevel consistency,
WriteType writeType,
int received,
int required) |
| Modifier and Type | Method and Description |
|---|---|
DriverException |
copy()
Copy the exception.
|
WriteTimeoutException |
copy(InetSocketAddress address)
Create a copy of this exception with a nicer stack trace, and including the coordinator
address that caused this exception to be raised.
|
WriteType |
getWriteType()
The type of the write for which a timeout was raised.
|
getAddress, getConsistencyLevel, getHost, getReceivedAcknowledgements, getRequiredAcknowledgementsaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WriteTimeoutException(ConsistencyLevel consistency, WriteType writeType, int received, int required)
public WriteTimeoutException(InetSocketAddress address, ConsistencyLevel consistency, WriteType writeType, int received, int required)
public WriteType getWriteType()
public DriverException copy()
DriverExceptioncopy in class DriverExceptionpublic WriteTimeoutException copy(InetSocketAddress address)
address - The full address of the host that caused this exception to be thrown.