2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.access.concepts;
11 * General error raised when the recipient of a {@link Request} determines that the request contains
12 * a {@link ClientIdentifier} which corresponds to an outdated generation.
14 public final class RetiredGenerationException extends RequestException {
16 private static final long serialVersionUID = 1L;
18 public RetiredGenerationException(final long originatingGeneration, final long newGeneration) {
19 super("Originating generation " + Long.toUnsignedString(originatingGeneration) + " was superseded by "
20 + Long.toUnsignedString(newGeneration));
24 public boolean isRetriable() {