Class BackendCapabilityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.sonus21.rqueue.exception.BackendCapabilityException
All Implemented Interfaces:
Serializable

public class BackendCapabilityException extends RuntimeException
Raised when a web/dashboard operation is invoked against a backend that does not implement the primitive it requires (e.g. atomic positional message moves on JetStream). Mapped to HTTP 501 by RqueueWebExceptionAdvice; carries the backend identifier and operation name so callers can distinguish "not supported here" from generic failures.
See Also:
  • Constructor Details

    • BackendCapabilityException

      public BackendCapabilityException(String backend, String operation, String reason)
  • Method Details

    • getBackend

      public String getBackend()
    • getOperation

      public String getOperation()