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
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 Summary
ConstructorsConstructorDescriptionConstructs aAcquirePermissionCancelledExceptionwith detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcquirePermissionCancelledException
public AcquirePermissionCancelledException() -
AcquirePermissionCancelledException
Constructs aAcquirePermissionCancelledExceptionwith detail message.- Parameters:
message- the detail message
-