org.apache.kafka.common.errors
Class CorruptRecordException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.kafka.common.KafkaException
                  extended by org.apache.kafka.common.errors.ApiException
                      extended by org.apache.kafka.common.errors.RetriableException
                          extended by org.apache.kafka.common.errors.CorruptRecordException
All Implemented Interfaces:
java.io.Serializable

public class CorruptRecordException
extends RetriableException

This exception indicates a record has failed it's internal CRC check, this generally indicates network or disk corruption.

See Also:
Serialized Form

Constructor Summary
CorruptRecordException()
           
CorruptRecordException(java.lang.String message)
           
CorruptRecordException(java.lang.String message, java.lang.Throwable cause)
           
CorruptRecordException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CorruptRecordException

public CorruptRecordException()

CorruptRecordException

public CorruptRecordException(java.lang.String message)

CorruptRecordException

public CorruptRecordException(java.lang.Throwable cause)

CorruptRecordException

public CorruptRecordException(java.lang.String message,
                              java.lang.Throwable cause)