All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.elder.sourcerer.crud.ReadAssertFailedException Maven / Gradle / Ivy

Go to download

An opinionated framework for implementing an CQRS architecture using event sourcing

The newest version!
package org.elder.sourcerer.crud;

/**
 * Thrown from the CommandUtils.executeSynchronously facade when the maximum number of retries have
 * been exhausted, indicating that, while a command was successfully executed, the relevant read
 * model was not updated within the expected period of time.
 */
public class ReadAssertFailedException extends RuntimeException {
    private static final long serialVersionUID = 1;

    public ReadAssertFailedException(final Throwable cause) {
        super(
                "Read model not updated in time.",
                cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy