org.apache.kafka.common.errors
Class NetworkException

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.InvalidMetadataException
                              extended by org.apache.kafka.common.errors.NetworkException
All Implemented Interfaces:
java.io.Serializable

public class NetworkException
extends InvalidMetadataException

A misc. network-related IOException occurred when making a request. This could be because the client's metadata is out of date and it is making a request to a node that is now dead.

See Also:
Serialized Form

Constructor Summary
NetworkException()
           
NetworkException(java.lang.String message)
           
NetworkException(java.lang.String message, java.lang.Throwable cause)
           
NetworkException(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

NetworkException

public NetworkException()

NetworkException

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

NetworkException

public NetworkException(java.lang.String message)

NetworkException

public NetworkException(java.lang.Throwable cause)