View Javadoc

1   /*
2    * Copyright 2006-2016 The JGUIraffe Team.
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  package net.sf.jguiraffe.gui.builder.components;
17  
18  /**
19   * <p>
20   * An exception class for reporting runtime errors of the form builder
21   * framework.
22   * </p>
23   *
24   * @author Oliver Heger
25   * @version $Id: FormBuilderRuntimeException.java 205 2012-01-29 18:29:57Z oheger $
26   */
27  public class FormBuilderRuntimeException extends RuntimeException
28  {
29      /**
30       * Serial version UID.
31       */
32      private static final long serialVersionUID = 4590445222867803920L;
33  
34      /**
35       * Creates a new instance of <code>FormBuilderRuntimeException</code> and
36       * initializes it with an error message.
37       *
38       * @param msg the error message
39       */
40      public FormBuilderRuntimeException(String msg)
41      {
42          super(msg);
43      }
44  
45      /**
46       * Creates a new instance of <code>FormBuilderRuntimeException</code> and
47       * initializes it with a root cause.
48       *
49       * @param cause the root cause
50       */
51      public FormBuilderRuntimeException(Throwable cause)
52      {
53          super(cause);
54      }
55  
56      /**
57       * Creates a new instance of <code>FormBuilderRuntimeException</code> and
58       * initializes it with an error message and a root cause,
59       *
60       * @param msg the error message
61       * @param cause the root cause
62       */
63      public FormBuilderRuntimeException(String msg, Throwable cause)
64      {
65          super(msg, cause);
66      }
67  }