Class RequestProcessingInterrupted
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ygbstudio.jbrave.core.exceptions.BraveClientException
net.ygbstudio.jbrave.core.exceptions.RequestProcessingInterrupted
- All Implemented Interfaces:
Serializable
An exception that is thrown when a request processing thread is interrupted while waiting to
acquire execution admission
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestProcessingInterrupted(String message) Creates a new instance with the given detail message.RequestProcessingInterrupted(String message, Throwable cause) Creates a new instance with the given detail message and cause.RequestProcessingInterrupted(@NotNull Supplier<String> message) Creates a new instance with a lazily-evaluated detail message.RequestProcessingInterrupted(@NotNull Supplier<String> message, Throwable cause) Creates a new instance with a lazily-evaluated detail message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestProcessingInterrupted
Creates a new instance with the given detail message.- Parameters:
message- the detail message
-
RequestProcessingInterrupted
Creates a new instance with the given detail message and cause.- Parameters:
message- the detail messagecause- the cause of the exception
-
RequestProcessingInterrupted
Creates a new instance with a lazily-evaluated detail message.- Parameters:
message- a supplier for the detail message
-
RequestProcessingInterrupted
Creates a new instance with a lazily-evaluated detail message and a cause.- Parameters:
message- a supplier for the detail messagecause- the cause of the exception
-