1   /*
2    * Copyright 2003 - 2013 The eFaps 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   * Revision:        $Rev$
17   * Last Changed:    $Date$
18   * Last Changed By: $Author$
19   */
20  
21  package org.efaps.update.util;
22  
23  /**
24   * Exception which are thrown within the installation of an eFaps application.
25   *
26   * @author The eFaps Team
27   * @version $Id$
28   */
29  public class InstallationException
30      extends Exception
31  {
32      /**
33       * Serial version ID.
34       */
35      private static final long serialVersionUID = 2167502421695022437L;
36  
37      /**
38       * Initializes the eFaps installation exception with an error message.
39       *
40       * @param _text     error message
41       */
42      public InstallationException(final String _text)
43      {
44          super(_text);
45      }
46  
47      /**
48       * Initializes the eFaps installation exception with an error message and
49       * the original exception cause.
50       *
51       * @param _text         error message
52       * @param _throwable    embedded exception which was original thrown
53       */
54      public InstallationException(final String _text,
55                                   final Throwable _throwable)
56      {
57          super(_text, _throwable);
58      }
59  }