Package org.apache.kafka.common.errors
Class InvalidTopicException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.common.errors.ApiException
-
- org.apache.kafka.common.errors.InvalidTopicException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidTopicException extends ApiException
The client has attempted to perform an operation on an invalid topic. For example the topic name is too long, contains invalid characters etc. This exception is not retriable because the operation won't suddenly become valid.- See Also:
UnknownTopicOrPartitionException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidTopicException()
InvalidTopicException(java.lang.String message)
InvalidTopicException(java.lang.String message, java.lang.Throwable cause)
InvalidTopicException(java.lang.Throwable cause)
InvalidTopicException(java.util.Set<java.lang.String> invalidTopics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
invalidTopics()
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-
-
-
Constructor Detail
-
InvalidTopicException
public InvalidTopicException()
-
InvalidTopicException
public InvalidTopicException(java.lang.String message, java.lang.Throwable cause)
-
InvalidTopicException
public InvalidTopicException(java.lang.String message)
-
InvalidTopicException
public InvalidTopicException(java.lang.Throwable cause)
-
InvalidTopicException
public InvalidTopicException(java.util.Set<java.lang.String> invalidTopics)
-
-