1 17 package org.alfresco.service.cmr.repository; 18 19 20 26 public class InvalidNodeRefException extends RuntimeException  27 { 28 private static final long serialVersionUID = 3689345520586273336L; 29 30 private NodeRef nodeRef; 31 32 public InvalidNodeRefException(NodeRef nodeRef) 33 { 34 this(null, nodeRef); 35 } 36 37 public InvalidNodeRefException(String msg, NodeRef nodeRef) 38 { 39 super(msg); 40 this.nodeRef = nodeRef; 41 } 42 43 46 public NodeRef getNodeRef() 47 { 48 return nodeRef; 49 } 50 } 51 | Popular Tags |