01: package org.kohsuke.args4j;
02:
03: /**
04: * Signals an incorrect use of args4j annotations.
05: *
06: * <p>
07: * This only happens when there's something wrong with the way you use
08: * args4j in your code, not when the arguments supplied by the user is
09: * wrong. Hence this class is an {@link Error}.
10: *
11: * @author Kohsuke Kawaguchi
12: */
13: public class IllegalAnnotationError extends Error {
14: private static final long serialVersionUID = 2397757838147693218L;
15:
16: public IllegalAnnotationError(String message) {
17: super (message);
18: }
19:
20: public IllegalAnnotationError(String message, Throwable cause) {
21: super (message, cause);
22: }
23:
24: public IllegalAnnotationError(Throwable cause) {
25: super(cause);
26: }
27: }
|