Class AcquirePermissionCancelledException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.github.resilience4j.core.exception.AcquirePermissionCancelledException
All Implemented Interfaces:
Serializable

public class AcquirePermissionCancelledException extends 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:
  • Constructor Details

    • AcquirePermissionCancelledException

      public AcquirePermissionCancelledException()
    • AcquirePermissionCancelledException

      public AcquirePermissionCancelledException(String message)
      Constructs a AcquirePermissionCancelledException with detail message.
      Parameters:
      message - the detail message