View Javadoc

1   /*
2    * Copyright (C) 2006  Tom Gibara
3    *
4    * This library is free software; you can redistribute it and/or
5    * modify it under the terms of the GNU Lesser General Public
6    * License as published by the Free Software Foundation; either
7    * version 2.1 of the License, or (at your option) any later version.
8    *
9    * This library is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12   * Lesser General Public License for more details.
13   *
14   * You should have received a copy of the GNU Lesser General Public
15   * License along with this library; if not, write to the Free Software
16   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17   */
18  package com.tomgibara.pronto.config;
19  
20  import com.tomgibara.pronto.core.ProntoException;
21  
22  /**
23   * Instances of this exception are thrown when a Config encounters a problem
24   * satisfying a configuration property request in any form.
25   * 
26   * @author Tom Gibara
27   * 
28   */
29  
30  public class ProntoConfigException extends ProntoException {
31  
32      private static final long serialVersionUID = -458361366157689539L;
33  
34      /**
35       * Construct a new ProntoConfigException.
36       */
37  
38      public ProntoConfigException() {
39      }
40  
41      /**
42       * Construct a new ProntoConfigException.
43       * 
44       * @param message
45       *            the message of the exception
46       * @param cause
47       *            the throwable that caused the exception
48       */
49  
50      public ProntoConfigException(final String message, final Throwable cause) {
51          super(message, cause);
52      }
53  
54      /**
55       * Construct a new ProntoConfigException.
56       * 
57       * @param message
58       *            the message of the exception
59       */
60  
61      public ProntoConfigException(final String message) {
62          super(message);
63      }
64  
65      /**
66       * Construct a new ProntoConfigException.
67       * 
68       * @param cause
69       *            the throwable that caused the exception
70       */
71  
72      public ProntoConfigException(final Throwable cause) {
73          super(cause);
74      }
75  
76  }