Bug 1764 - created new bundle responsible for default OF switch configuration
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / ErrorHandler.java
1 /**
2  * Copyright (c) 2013 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.openflowplugin.openflow.md.core;
9
10 import org.opendaylight.openflowplugin.openflow.md.core.session.SessionContext;
11
12 /**
13  * @author mirehak
14  *
15  */
16 public interface ErrorHandler {
17
18     /**
19      * @param e cause
20      * @param sessionContext of source
21      */
22     void handleException(Throwable e, SessionContext sessionContext);
23
24 }