Top Description Fields Constructors
io.github.resilience4j.core.exception

public Class AcquirePermissionCancelledException

extends IllegalStateException
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public
public
AcquirePermissionCancelledException(String
the detail message
message
)

Constructs a AcquirePermissionCancelledException with detail message.

Field Detail

DEFAULT_MESSAGEback to summary
private static final String DEFAULT_MESSAGE

Constructor Detail

AcquirePermissionCancelledExceptionback to summary
public AcquirePermissionCancelledException()
AcquirePermissionCancelledExceptionback to summary
public AcquirePermissionCancelledException(String message)

Constructs a AcquirePermissionCancelledException with detail message.

Parameters
message:String

the detail message