2 * Copyright (c) 2015 Pantheon Technologies s.r.o. 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.openflowjava.protocol.api.connection;
11 * Exception reported when an exceptional event occurs on an {@link OutboundQueue},
12 * which the {@link OutboundQueueHandler} needs to be aware of.
14 public class OutboundQueueException extends Exception {
16 * Exception reported when the device disconnects.
18 public static final OutboundQueueException DEVICE_DISCONNECTED = new OutboundQueueException("Device disconnected");
20 private static final long serialVersionUID = 1L;
22 public OutboundQueueException(final String message) {
26 public OutboundQueueException(final String message, final Throwable cause) {
27 super(message, cause);