org.apache.kafka.common.errors
Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidTopicException, OffsetMetadataTooLarge, RecordBatchTooLargeException, RecordTooLargeException, RetriableException, UnknownServerException
public abstract class ApiException
- extends KafkaException
Any API exception that is part of the public protocol and should be a subclass of this class and be part of this
package.
- See Also:
- Serialized Form
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 |
ApiException
public ApiException(java.lang.String message,
java.lang.Throwable cause)
ApiException
public ApiException(java.lang.String message)
ApiException
public ApiException(java.lang.Throwable cause)
ApiException
public ApiException()
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in class java.lang.Throwable