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;
11 * Exception thrown from {@link ABIVersion#valueOf(short)} when the specified version is too old and no longer
12 * supported by the codebase.
14 public final class PastVersionException extends AbstractVersionException {
16 private static final long serialVersionUID = 1L;
18 PastVersionException(final short version, final ABIVersion closest) {
19 super("Version " + Short.toUnsignedInt(version) + " is too old", version, closest);