Package org.multiverse.api.exceptions
Class RetryNotPossibleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.RetryException
-
- org.multiverse.api.exceptions.RetryNotPossibleException
-
- All Implemented Interfaces:
java.io.Serializable
public class RetryNotPossibleException extends RetryException
ARetryExceptionthrow when aStmUtils.retry()orTxn.retry()done on aTxnwithout the possibility of progress, for example when the readset of a transaction is empty.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description RetryNotPossibleException(java.lang.String message)Creates a new NoRetryPossibleException with the provided message.RetryNotPossibleException(java.lang.String message, java.lang.Throwable cause)Creates a new NoRetryPossibleException with the provided message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetryNotPossibleException
public RetryNotPossibleException(java.lang.String message)
Creates a new NoRetryPossibleException with the provided message.- Parameters:
message- the message of the exception.
-
RetryNotPossibleException
public RetryNotPossibleException(java.lang.String message, java.lang.Throwable cause)Creates a new NoRetryPossibleException with the provided message and cause.- Parameters:
message- the message of the exception.cause- the cause of the exception.
-
-