|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.multiverse.api.exceptions.TxnExecutionException
org.multiverse.api.exceptions.RetryException
org.multiverse.api.exceptions.RetryInterruptedException
public class RetryInterruptedException
A RetryException thrown when the blocking operation on a Txn
using the retry has been interrupted.
Unlike the InterruptedException this exception is not checked. A checked interrupted
exception is quite nasty to have since either you need to deal with it, or you need to propagate it.
When this exception is thrown, the interrupted status on the Thread always is restored.
TxnFactoryBuilder.setInterruptible(boolean),
Serialized Form| Constructor Summary | |
|---|---|
RetryInterruptedException(String message)
Creates a new RetryInterruptedException with the provided message. |
|
RetryInterruptedException(String message,
Throwable cause)
Creates a new RetryInterruptedException with the provided message and cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RetryInterruptedException(String message)
message - the message
public RetryInterruptedException(String message,
Throwable cause)
message - the messagecause - the cause of this exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||