1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.whatsnew.exceptions;
17
18 /***
19 * <p>
20 * Invalid option exception
21 * </p>
22 *
23 * @author <a href="mailto:dquintela@users.sourceforge.net">Diogo Quintela</a>
24 * @version $Id: InvalidOptionValue.java,v 1.1 2004/05/13 01:22:39 dquintela Exp $
25 */
26 public class InvalidOptionValue
27 extends AppException {
28 /***
29 * Creates a new InvalidOptionValue object.
30 */
31 public InvalidOptionValue() {
32 super();
33 }
34
35 /***
36 * Creates a new InvalidOptionValue object.
37 *
38 * @param key the detail message.
39 */
40 public InvalidOptionValue(String key) {
41 super(key);
42 }
43
44 /***
45 * Creates a new InvalidOptionValue object.
46 *
47 * @param value The value for the key or the message
48 * @param useBundle true, <code>value</code> will be used as message
49 * identifier, false, <code>value</code> will be message associated
50 * with exception
51 */
52 public InvalidOptionValue(
53 String value,
54 boolean useBundle) {
55 super(value, useBundle);
56 }
57 }
58