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.action;
17  
18  import net.sf.jguiraffe.gui.builder.components.FormBuilderException;
19  
20  
21  /**
22   * <p>
23   * An exception class indicating a problem with the form action framework.
24   * </p>
25   *
26   * @author Oliver Heger
27   * @version $Id: FormActionException.java 205 2012-01-29 18:29:57Z oheger $
28   */
29  public class FormActionException extends FormBuilderException
30  {
31      /**
32       * The serial version UID.
33       */
34      private static final long serialVersionUID = -2259904885846361444L;
35  
36      /**
37       * Creates a new instance of <code>FormActionException</code> and sets the
38       * error message.
39       *
40       * @param msg the error message
41       */
42      public FormActionException(String msg)
43      {
44          super(msg);
45      }
46  
47      /**
48       * Creates a new instance of <code>FormActionException</code> and sets
49       * both the error message and the root cause.
50       *
51       * @param msg the error message
52       * @param cause the root cause
53       */
54      public FormActionException(String msg, Throwable cause)
55      {
56          super(msg, cause);
57      }
58  
59      /**
60       * Creates a new instance of <code>FormActionException</code> and sets the
61       * root cause.
62       *
63       * @param cause the root cause of this exception
64       */
65      public FormActionException(Throwable cause)
66      {
67          super(cause);
68      }
69  }