org.multiverse.api.exceptions
Interface RecoverableThrowable

All Known Implementing Classes:
CommitFailureException, FailedToObtainCommitLocksException, LoadLockedException, LoadTooOldVersionException, LoadUncommittedException, WriteConflictException

public interface RecoverableThrowable

A marker interface that can be added to exceptions to indicate that the transaction is likely to have better luck next time. An example of such an exception is the WriteConflictException that is thrown to indicate that the Transaction didn't succeed this time, but next time there is a chance it will.

Since Java doesn't support multiple inheritance, the RecoverableThrowable is an interface.

Author:
Peter Veentjer.



Copyright © 2008-2010 Multiverse. All Rights Reserved.