View Javadoc

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