View Javadoc

1   package com.sri.emo.dbobj.model_tree;
2   
3   /***
4    * Exception that is thrown whenever something happens while visiting a node.
5    *
6    * @author Michael Rimov
7    */
8   public class ViewVisitorException extends RuntimeException {
9   
10      /***
11  	 * 
12  	 */
13  	private static final long serialVersionUID = 1L;
14  
15  	/***
16       * Default constructor, no message, no nested exception.
17       */
18      public ViewVisitorException() {
19          super();
20      }
21  
22      /***
23       * Constructor that takes a message.
24       *
25       * @param message String
26       */
27      public ViewVisitorException(final String message) {
28          super(message);
29      }
30  
31      /***
32       * Constructor that takes a message and a nested exception.
33       *
34       * @param message String
35       * @param cause   Throwable
36       */
37      public ViewVisitorException(final String message, final Throwable cause) {
38          super(message, cause);
39      }
40  
41      /***
42       * Constructor that takes a nested exception.
43       *
44       * @param cause Throwable
45       */
46      public ViewVisitorException(final Throwable cause) {
47          super(cause);
48      }
49  }