blob: f7153c55a207f096e81f417a48a8aa19fd1d0489 [file] [log] [blame]
Carmelo Cascone2ea177b2016-02-25 18:38:42 -08001/*
Carmelo Casconeaa8b6292016-04-13 14:27:06 -07002 * Copyright 2016-present Open Networking Laboratory
Carmelo Cascone2ea177b2016-02-25 18:38:42 -08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Carmelo Casconeaa8b6292016-04-13 14:27:06 -070017package org.onosproject.bmv2.api.runtime;
Carmelo Cascone2ea177b2016-02-25 18:38:42 -080018
19/**
Carmelo Casconeaa8b6292016-04-13 14:27:06 -070020 * General exception of the Bmv2 runtime APIs.
Carmelo Cascone2ea177b2016-02-25 18:38:42 -080021 */
Carmelo Casconeaa8b6292016-04-13 14:27:06 -070022public class Bmv2RuntimeException extends Exception {
Carmelo Cascone2ea177b2016-02-25 18:38:42 -080023
Carmelo Casconeaa8b6292016-04-13 14:27:06 -070024 public Bmv2RuntimeException(String message, Throwable cause) {
Carmelo Cascone2ea177b2016-02-25 18:38:42 -080025 super(message, cause);
26 }
Carmelo Casconeaa8b6292016-04-13 14:27:06 -070027
28 public Bmv2RuntimeException(String message) {
29 super(message);
30 }
Carmelo Cascone2ea177b2016-02-25 18:38:42 -080031}