Package org.apache.cassandra.exceptions
Class RequestFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cassandra.exceptions.CassandraException
org.apache.cassandra.exceptions.RequestExecutionException
org.apache.cassandra.exceptions.RequestFailureException
- All Implemented Interfaces:
Serializable,TransportException
- Direct Known Subclasses:
ReadFailureException,WriteFailureException
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionRequestFailureException(ExceptionCode code, String msg, ConsistencyLevel consistency, int received, int blockFor, Map<InetAddressAndPort, RequestFailureReason> failureReasonByEndpoint) protectedRequestFailureException(ExceptionCode code, ConsistencyLevel consistency, int received, int blockFor, Map<InetAddressAndPort, RequestFailureReason> failureReasonByEndpoint) -
Method Summary
Methods inherited from class org.apache.cassandra.exceptions.CassandraException
codeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.exceptions.TransportException
getMessage
-
Field Details
-
consistency
-
received
public final int received -
blockFor
public final int blockFor -
failureReasonByEndpoint
-
-
Constructor Details
-
RequestFailureException
protected RequestFailureException(ExceptionCode code, ConsistencyLevel consistency, int received, int blockFor, Map<InetAddressAndPort, RequestFailureReason> failureReasonByEndpoint) -
RequestFailureException
public RequestFailureException(ExceptionCode code, String msg, ConsistencyLevel consistency, int received, int blockFor, Map<InetAddressAndPort, RequestFailureReason> failureReasonByEndpoint)
-