Class RebuildEpochException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tentackle.common.TentackleRuntimeException
org.tentackle.session.PersistenceException
org.tentackle.persist.trip.RebuildEpochException
- All Implemented Interfaces:
Serializable
public class RebuildEpochException
extends org.tentackle.session.PersistenceException
Thrown by the receiving
TripModificationLogSerializer if the dictionary of an epoch must be rebuilt.
This happens if the receiver was restarted and lacks the entries of the modlogs it processed before, or if it
already discarded the dictionary of the epoch. The receiver rebuilds the dictionary via
TripModificationLogSerializer.rebuildEpoch(long, Iterable) and retries.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRebuildEpochException(long epoch, String message) Creates a rebuild epoch exception. -
Method Summary
Methods inherited from class org.tentackle.session.PersistenceException
evaluate, extractPersistenceException, getIdentifiable, getMessage, getSession, updateDbObjectMethods inherited from class org.tentackle.common.TentackleRuntimeException
isTemporary, setTemporaryMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RebuildEpochException
Creates a rebuild epoch exception.- Parameters:
epoch- the epoch to rebuildmessage- the detail message
-
-
Method Details
-
getEpoch
public long getEpoch()Gets the epoch to rebuild.- Returns:
- the epoch
-