Class ResourceClosedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.confluent.kafkarest.exceptions.ResourceClosedException
All Implemented Interfaces:
Serializable

public class ResourceClosedException extends RuntimeException
Exception thrown when attempting to use a producer that has been closed due to cache eviction. This is a retriable exception - the operation can be retried with a fresh producer from cache.
See Also:
  • Constructor Details

    • ResourceClosedException

      public ResourceClosedException(String message)
    • ResourceClosedException

      public ResourceClosedException(String message, Throwable cause)