Package org.apache.cassandra.exceptions
Class WriteFailureException
- 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
-
- org.apache.cassandra.exceptions.WriteFailureException
-
- All Implemented Interfaces:
java.io.Serializable
,TransportException
public class WriteFailureException extends RequestFailureException
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description WriteType
writeType
-
Fields inherited from class org.apache.cassandra.exceptions.RequestFailureException
blockFor, consistency, failureReasonByEndpoint, received
-
-
Constructor Summary
Constructors Constructor Description WriteFailureException(ConsistencyLevel consistency, int received, int blockFor, WriteType writeType, java.util.Map<InetAddressAndPort,RequestFailureReason> failureReasonByEndpoint)
-
Method Summary
-
Methods inherited from class org.apache.cassandra.exceptions.CassandraException
code
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.exceptions.TransportException
getMessage
-
-
-
-
Field Detail
-
writeType
public final WriteType writeType
-
-
Constructor Detail
-
WriteFailureException
public WriteFailureException(ConsistencyLevel consistency, int received, int blockFor, WriteType writeType, java.util.Map<InetAddressAndPort,RequestFailureReason> failureReasonByEndpoint)
-
-