View Javadoc

1   /* Copyright (c) 2008 Sascha Kohlmann
2    *
3    * This program is free software: you can redistribute it and/or modify
4    * it under the terms of the GNU Affero General Public License as published by
5    * the Free Software Foundation, either version 3 of the License, or
6    * (at your option) any later version.
7    *
8    * This program is distributed in the hope that it will be useful,
9    * but WITHOUT ANY WARRANTY; without even the implied warranty of
10   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   * GNU Affero General Public License for more details.
12   *
13   * You should have received a copy of the GNU Affero General Public License
14   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15   */
16  package net.sf.eos.config;
17  
18  /**
19   * May throw if a configuration is not valid.
20   * @author Sascha Kohlmann
21   */
22  public class ConfigurationException extends RuntimeException {
23   
24      private static final long serialVersionUID = -6860917958707300709L;
25  
26      /** Creates a new instance. */
27      public ConfigurationException() {
28          super();
29      }
30  
31      /** Creates a new instance.
32       * @param message a message. */
33      public ConfigurationException(final String message) {
34          super(message);
35      }
36  
37      /** Creates a new instance.
38       * @param cause a cause exception. */
39      public ConfigurationException(final Throwable cause) {
40          super(cause);
41      }
42  
43      /** Creates a new instance.
44       * @param cause a cause exception.
45       * @param message a message. */
46      public ConfigurationException(final String message,
47                                    final Throwable cause) {
48          super(message, cause);
49      }
50  }