2 * Copyright (c) 2018 Red Hat, 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.neutron.northbound.api;
10 import javax.ws.rs.WebApplicationException;
11 import org.opendaylight.neutron.spi.ReadFailedRuntimeException;
12 import org.opendaylight.yangtools.yang.common.OperationFailedException;
15 * JAX RS specific exception wrapping an ODL MDSAL datastore read/validate/write operation failure.
17 * @see ReadFailedRuntimeException
19 * @author Michael Vorburger.ch
21 public class DatastoreOperationFailedWebApplicationException extends WebApplicationException {
22 private static final long serialVersionUID = 1L;
24 public DatastoreOperationFailedWebApplicationException(OperationFailedException cause) {