Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.installer / org.gvsig.installer.lib / org.gvsig.installer.lib.api / src / main / java / org / gvsig / installer / lib / api / execution / InstallPackageServiceException.java @ 37599

History | View | Annotate | Download (2.17 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
19
 * MA  02110-1301, USA.
20
 * 
21
 */
22

    
23
/*
24
 * AUTHORS (In addition to CIT):
25
 * 2010 {Prodevelop}   {Task}
26
 */
27

    
28
package org.gvsig.installer.lib.api.execution;
29

    
30
import org.gvsig.tools.exception.BaseException;
31

    
32
/**
33
 * Base exception for all the exceptions that are thrown by the process of
34
 * installation of a package. The {@link InstallPackageService} throws this
35
 * exception on its methods.
36
 * 
37
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
38
 */
39
public class InstallPackageServiceException extends BaseException {
40

    
41
        private static final String message = "Error installing a package";
42

    
43
        private static final long serialVersionUID = -7645352975209203727L;
44

    
45
        private static final String KEY = "installer_execution_exception";
46

    
47
        /**
48
         * @see BaseException#BaseException(String, long)
49
         */
50
        public InstallPackageServiceException() {
51
                super(message, KEY, serialVersionUID);
52
        }
53

    
54
        /**
55
         * @see BaseException#BaseException(Throwable, String, long)
56
         */
57
        public InstallPackageServiceException(Throwable cause) {
58
                super(message, cause, KEY, serialVersionUID);
59
        }
60

    
61
        protected InstallPackageServiceException(String message, Throwable cause,
62
                        String key, long code) {
63
                super(message, cause, key, code);
64
        }
65

    
66
        protected InstallPackageServiceException(String message, String key,
67
                        long code) {
68
                super(message, key, code);
69
        }
70

    
71
}