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:
java.io.Serializable

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
  • Constructor Summary

    Constructors 
    Constructor Description
    AcquirePermissionCancelledException()  
    AcquirePermissionCancelledException​(java.lang.String message)
    Constructs a AcquirePermissionCancelledException with detail message.
  • 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