blob: deeac765a4875f5f573d2e87dbd2134b91f22078 [file] [log] [blame]
Jonathan Hart4cb39882015-08-12 23:50:55 -04001/*
2 * Copyright 2015 Open Networking Laboratory
3 *
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
17package org.onosproject.incubator.net.config.basics;
18
Thomas Vachuska4c571ae2015-09-10 16:31:59 -070019import com.google.common.annotations.Beta;
20
Jonathan Hart4cb39882015-08-12 23:50:55 -040021/**
22 * Signals that an error was encountered while reading/writing configuration.
23 */
Thomas Vachuska4c571ae2015-09-10 16:31:59 -070024@Beta
Jonathan Hart4cb39882015-08-12 23:50:55 -040025public class ConfigException extends Exception {
26
27 /**
28 * Constructs a new ConfigException with the given message.
29 *
30 * @param message message
31 */
32 public ConfigException(String message) {
33 super(message);
34 }
35
36 /**
37 * Constructs a new ConfigException with the given message and cause.
38 *
39 * @param message message
40 * @param cause cause
41 */
42 public ConfigException(String message, Throwable cause) {
43 super(message, cause);
44 }
45}