View Javadoc

1   package at.ac.tuwien.infosys.sm4all.copal.api.event.xml;
2   
3   import org.w3c.dom.Document;
4   import org.w3c.dom.Node;
5   
6   /**
7    * Exception for when parsing a {@link Document} representing a
8    * {@link XMLContextEvent} is has a field with invalid value. Field can be any
9    * {@link Node} in the {@link Document}.
10   * 
11   * @author sanjin
12   */
13  public class InvalidFieldValueException extends ParsingException {
14  
15      private static final long serialVersionUID = 6437012637609455284L;
16  
17      /**
18       * Creates exception with specified message.
19       * 
20       * @param message the detail message of the parsing problem.
21       */
22      public InvalidFieldValueException(final String message) {
23          super(message);
24      }
25  
26      /**
27       * Creates exception with specified message and cause exception.
28       * 
29       * @param message the detail message of the parsing problem.
30       * @param cause the cause exception of the parsing problem.
31       */
32      public InvalidFieldValueException(final String message,
33              final Throwable cause) {
34          super(message, cause);
35      }
36  }