Class AcquirePermissionCancelledException

  • All Implemented Interfaces:

    public class AcquirePermissionCancelledException
    extends java.lang.IllegalStateException
    Exception indicating that the permission wasn't acquired because the task was cancelled or thread interrupted.

    We extend it from IllegalStateException to preserve backwards compatibility with version 1.0.0 of Resilience4j

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AcquirePermissionCancelledException

        public AcquirePermissionCancelledException()
      • AcquirePermissionCancelledException

        public AcquirePermissionCancelledException​(java.lang.String message)
        Constructs a AcquirePermissionCancelledException with detail message.
        message - the detail message