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 an operation on a Node or a ContentItem object when this object was already
10   * deleted in the repository
11   * 
12   * @author Nuno Bravo
13   * @created Out 20, 2010
14   */
15  public class AlreadyDeletedException extends ContentManagerException {
16  
17      /**  */
18      private static final long serialVersionUID = 1L;
19  
20      /**
21       */
22      public AlreadyDeletedException()
23      {
24          super("Element has already been deleted");
25      }
26  
27      /**
28       * @param exception
29       */
30      public AlreadyDeletedException(Exception exception)
31      {
32          super(exception);
33      }
34  
35      /**
36       * @param nodeId
37       */
38      public AlreadyDeletedException(Long nodeId)
39      {
40          super("Element has already been deleted. Id: " + nodeId);
41      }
42  
43      /**
44       * @param reason
45       */
46      public AlreadyDeletedException(String reason)
47      {
48          super(reason);
49      }
50  
51  }