Package com.qfs.multiversion
Class AbandonedEpochException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.activeviam.fwk.ActiveViamRuntimeException
com.qfs.multiversion.AbandonedEpochException
- All Implemented Interfaces:
Serializable
Runtime exception thrown when a reader requires a version at an epoch in the past and that
version has already been abandoned by the multiversion holder.
- Author:
- ActiveViam
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.AbandonedEpochException(String message) Constructor.AbandonedEpochException(String messageKey, Object... parameters) Constructor.AbandonedEpochException(String message, Throwable cause) Constructor.AbandonedEpochException(Throwable cause) Constructor.AbandonedEpochException(Throwable exception, String messageKey, Object... parameters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic AbandonedEpochExceptionCreates an exception when a wanted epoch is not found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbandonedEpochException
public AbandonedEpochException()Default constructor. -
AbandonedEpochException
Constructor.- Parameters:
message- the detailed message
-
AbandonedEpochException
Constructor.- Parameters:
cause- the cause
-
AbandonedEpochException
Constructor.- Parameters:
message- the detailed messagecause- the cause
-
AbandonedEpochException
Constructor.- Parameters:
messageKey- message templateparameters- parameters to inject into the message template
-
AbandonedEpochException
Constructor.- Parameters:
exception- the causemessageKey- message templateparameters- parameters to inject into the message template
-
-
Method Details
-
noEpoch
Creates an exception when a wanted epoch is not found.- Parameters:
wanted- wanted epoch idclosest- suggested epoch, closest to the wanted one
-