package org.corfudb.runtime.exceptions; import lombok.Getter; /** * Created by mwei on 12/11/15. */ public class WrongEpochException extends RuntimeException { @Getter final long correctEpoch; public WrongEpochException(long correctEpoch) { super("Wrong epoch. [expected=" + correctEpoch + "]"); this.correctEpoch = correctEpoch; } }