View Javadoc

1   /**
2    * 2008, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
3    * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
4    */
5   
6   package pt.digitalis.dif.utils.extensions.cms.exception;
7   
8   /**
9    * This exception occurs when there is a search of a Node in the repository and the Node is not found
10   * 
11   * @author Nuno Bravo
12   * @created Out 20, 2010
13   */
14  public class NodeNotFoundException extends ContentManagerException {
15  
16      /**  */
17      private static final long serialVersionUID = 1L;
18  
19      /**
20       */
21      public NodeNotFoundException()
22      {
23          super("node not found");
24      }
25  
26      /**
27       * @param exception
28       */
29      public NodeNotFoundException(Exception exception)
30      {
31          super(exception);
32      }
33  
34      /**
35       * @param nodeId
36       */
37      public NodeNotFoundException(Long nodeId)
38      {
39          super("Node not found with id: " + nodeId);
40      }
41  
42      /**
43       * @param reason
44       */
45      public NodeNotFoundException(String reason)
46      {
47          super(reason);
48      }
49  
50  }