org.apache.kafka.common
Class KafkaException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApiException, BufferExhaustedException, ConfigException, QuotaViolationException, SchemaException

public class KafkaException
extends java.lang.RuntimeException

The base class of all other Kafka exceptions

See Also:
Serialized Form

Constructor Summary
KafkaException()
           
KafkaException(java.lang.String message)
           
KafkaException(java.lang.String message, java.lang.Throwable cause)
           
KafkaException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

KafkaException

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

KafkaException

public KafkaException(java.lang.String message)

KafkaException

public KafkaException(java.lang.Throwable cause)

KafkaException

public KafkaException()