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.commands;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.controller.cluster.access.ABIVersion;
12 import org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier;
13 import org.opendaylight.controller.cluster.access.concepts.RequestException;
14 import org.opendaylight.controller.cluster.access.concepts.RequestFailure;
17 * Generic {@link RequestFailure} involving a {@link LocalHistoryRequest}.
19 * @author Robert Varga
22 public final class LocalHistoryFailure extends RequestFailure<LocalHistoryIdentifier, LocalHistoryFailure> {
23 private static final long serialVersionUID = 1L;
25 LocalHistoryFailure(final LocalHistoryIdentifier target, final long sequence, final RequestException cause) {
26 super(target, sequence, cause);
30 protected LocalHistoryFailure cloneAsVersion(final ABIVersion version) {
35 protected LocalHistoryFailureProxyV1 externalizableProxy(final ABIVersion version) {
36 return new LocalHistoryFailureProxyV1(this);