2 * Copyright (c) 2015 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
9 package org.opendaylight.openflowplugin.api.openflow.device.exception;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.Error;
14 * @deprecated FIXME: TO BE REMOVED: migrate to org.opendaylight.openflowjava.protocol.api.connection.DeviceRequestFailedException.
17 public class DeviceDataException extends Exception {
22 private static final long serialVersionUID = 1L;
25 public DeviceDataException(final String message) {
29 public DeviceDataException(final String message, final Throwable cause) {
30 super(message, cause);
33 public DeviceDataException(final String message, final Error error) {
38 public Error getError() {