1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 package sfutils.frs;
29
30 import sfutils.SourceForgeException;
31
32 /***
33 * An {@link Exception} that indicates something has gone wrong with an
34 * interaction with the <a href="http://sourceforge.net/">SourceForge
35 * website</a>.
36 *
37 * @author <a href="mailto:ljnelson94@alumni.amherst.edu">Laird Nelson</a>
38 * @version $Revision: 1.2 $ $Date: 2003/07/31 20:27:19 $
39 * @since July 18, 2003
40 */
41 public class InvalidPackageIDException extends SourceForgeException {
42
43 /***
44 * Creates a new {@link InvalidPackageIDException}.
45 *
46 * @param cause
47 * the {@link Exception} that caused this {@link
48 * InvalidPackageIDException} to be thrown; may be
49 * <code>null</code>
50 * @param message
51 * a descriptive message; may be <code>null</code>
52 */
53 public InvalidPackageIDException(final Exception cause,
54 final String message) {
55 super(cause, message);
56 }
57
58 /***
59 * Creates a new {@link InvalidPackageIDException}.
60 *
61 * @param message
62 * a descriptive message; may be <code>null</code>
63 */
64 public InvalidPackageIDException(final String message) {
65 super(message);
66 }
67
68 /***
69 * Creates a new {@link InvalidPackageIDException}.
70 *
71 * @param id
72 * the package identifier that is invalid
73 */
74 public InvalidPackageIDException(final int id) {
75 super(Integer.toString(id));
76 }
77
78 }