4cad8a933674db217058ed746b3d1afdc7c278a1
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / concepts / AbstractRequestFailureProxy.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.cluster.access.concepts;
9
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.yangtools.concepts.WritableIdentifier;
12
13 /**
14  * Abstract Externalizable proxy for use with {@link RequestFailure} subclasses.
15  *
16  * @param <T> Target identifier type
17  */
18 @Deprecated(since = "7.0.0", forRemoval = true)
19 public abstract class AbstractRequestFailureProxy<T extends WritableIdentifier, C extends RequestFailure<T, C>>
20         extends AbstractResponseProxy<T, C> implements RequestFailure.SerialForm<T, C> {
21     @java.io.Serial
22     private static final long serialVersionUID = 1L;
23
24     protected AbstractRequestFailureProxy() {
25         // For Externalizable
26     }
27
28     protected AbstractRequestFailureProxy(final @NonNull C failure) {
29         super(failure);
30     }
31 }