Coverage Report - pt.digitalis.dif.utils.extensions.cms.exception.NodeNotFoundException
 
Classes in this File Line Coverage Branch Coverage Complexity
NodeNotFoundException
0%
0/9
N/A
1
 
 1  0
 /**
 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  0
         super("node not found");
 24  0
     }
 25  
 
 26  
     /**
 27  
      * @param exception
 28  
      */
 29  
     public NodeNotFoundException(Exception exception)
 30  
     {
 31  0
         super(exception);
 32  0
     }
 33  
 
 34  
     /**
 35  
      * @param nodeId
 36  
      */
 37  
     public NodeNotFoundException(Long nodeId)
 38  
     {
 39  0
         super("Node not found with id: " + nodeId);
 40  0
     }
 41  
 
 42  
     /**
 43  
      * @param reason
 44  
      */
 45  
     public NodeNotFoundException(String reason)
 46  
     {
 47  0
         super(reason);
 48  0
     }
 49  
 
 50  
 }