Revision 37599 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
InstallPackageServiceException.java | ||
---|---|---|
30 | 30 |
import org.gvsig.tools.exception.BaseException; |
31 | 31 |
|
32 | 32 |
/** |
33 |
* Base exception for all the exceptions that are thrown by the process |
|
34 |
* of installation of a package. The {@link InstallPackageService} throws
|
|
35 |
* this exception on its methods.
|
|
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 | 36 |
* |
37 | 37 |
* @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodrá</a> |
38 | 38 |
*/ |
39 | 39 |
public class InstallPackageServiceException extends BaseException { |
40 | 40 |
|
41 |
private static final String message = "Error installing a package"; |
|
42 |
|
|
43 |
private static final long serialVersionUID = -7645352975209203727L; |
|
41 |
private static final String message = "Error installing a package"; |
|
44 | 42 |
|
45 |
private static final String KEY = "installer_execution_exception";
|
|
43 |
private static final long serialVersionUID = -7645352975209203727L;
|
|
46 | 44 |
|
47 |
/** |
|
48 |
* @see BaseException#BaseException(String, long) |
|
49 |
*/ |
|
50 |
public InstallPackageServiceException() { |
|
51 |
super(message, KEY, serialVersionUID); |
|
52 |
} |
|
45 |
private static final String KEY = "installer_execution_exception"; |
|
53 | 46 |
|
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, String key, long code) { |
|
62 |
super(message, cause, key, code); |
|
63 |
} |
|
47 |
/** |
|
48 |
* @see BaseException#BaseException(String, long) |
|
49 |
*/ |
|
50 |
public InstallPackageServiceException() { |
|
51 |
super(message, KEY, serialVersionUID); |
|
52 |
} |
|
64 | 53 |
|
65 |
protected InstallPackageServiceException(String message, String key, long code) { |
|
66 |
super(message, key, code); |
|
67 |
} |
|
68 |
|
|
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 |
|
|
69 | 71 |
} |
Also available in: Unified diff