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.IllegalStateExceptionException 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 aAcquirePermissionCancelledExceptionwith detail message.
-
-
-
Constructor Detail
-
AcquirePermissionCancelledException
public AcquirePermissionCancelledException()
-
AcquirePermissionCancelledException
public AcquirePermissionCancelledException(java.lang.String message)
Constructs aAcquirePermissionCancelledExceptionwith detail message.- Parameters:
message- the detail message
-
-