Class ResourceNotFoundException
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.ResourceNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown due to a request for a resource that does not exist.
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionResourceNotFoundException(String message) ConstructorResourceNotFoundException(String resource, String message) ConstructorResourceNotFoundException(String resource, String message, Throwable cause) ConstructorResourceNotFoundException(String message, Throwable cause) Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
ResourceNotFoundException
Constructor- Parameters:
message- the exception's message
ResourceNotFoundException
ResourceNotFoundException
ResourceNotFoundException
Method Details
resource
- Returns:
- the (potentially null) resource that was not found