View Javadoc

1   package org.kohsuke.args4j;
2   
3   /***
4    * Signals an incorrect use of args4j annotations.
5    *
6    * <p>
7    * This only happens when there's something wrong with the way you use
8    * args4j in your code, not when the arguments supplied by the user is
9    * wrong. Hence this class is an {@link Error}.
10   *
11   * @author Kohsuke Kawaguchi
12   */
13  public class IllegalAnnotationError extends Error {
14      public IllegalAnnotationError(String message) {
15          super(message);
16      }
17  
18      public IllegalAnnotationError(String message, Throwable cause) {
19          super(message, cause);
20      }
21  
22      public IllegalAnnotationError(Throwable cause) {
23          super(cause);
24      }
25  }