summaryrefslogtreecommitdiffstats
path: root/args4j/args4j/src/org/kohsuke/args4j/IllegalAnnotationError.java
blob: 80cd9371f0c89a5d6f4001e783a291149942da48 (plain)
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
package org.kohsuke.args4j;

/**
 * Signals an incorrect use of args4j annotations.
 *
 * <p>
 * This only happens when there's something wrong with the way you use
 * args4j in your code--<em>not</em> when the user's arguments are wrong. 
 * Therefore, this class is an {@link Error}.
 *
 * @author Kohsuke Kawaguchi
 */
public class IllegalAnnotationError extends Error {
	private static final long serialVersionUID = 2397757838147693218L;

	public IllegalAnnotationError(String message) {
        super(message);
    }

    public IllegalAnnotationError(String message, Throwable cause) {
        super(message, cause);
    }

    public IllegalAnnotationError(Throwable cause) {
        super(cause);
    }
}