View Javadoc

1   package org.codehaus.xfire.annotations;
2   
3   import org.codehaus.xfire.XFireRuntimeException;
4   
5   /***
6    * Thrown when an exception occurs related to XFire's annotation support.
7    *
8    * @author <a href="mailto:poutsma@mac.com">Arjen Poutsma</a>
9    */
10  public class AnnotationException
11          extends XFireRuntimeException
12  {
13      /***
14       * Initializes a new <code>AnnotationException</code> with the given string message.
15       *
16       * @param message the message.
17       */
18      public AnnotationException(String message)
19      {
20          super(message);
21      }
22  
23      /***
24       * Initializes a new <code>AnnotationException</code> with the given string message and cause.
25       *
26       * @param message the message.
27       * @param cause   the cause.
28       */
29      public AnnotationException(String message, Throwable cause)
30      {
31          super(message, cause);
32      }
33  }