1 23 24 package org.apache.slide.structure; 25 26 import org.apache.slide.common.Uri; 27 import org.apache.slide.util.Messages; 28 29 34 public class ObjectHasChildrenException extends StructureException { 35 36 37 39 40 45 public ObjectHasChildrenException(Uri objectUri) { 46 super(Messages.format(ObjectHasChildrenException.class.getName(), 47 objectUri.toString())); 48 this.objectUri = objectUri.toString(); 49 } 50 51 52 54 55 58 private String objectUri; 59 60 61 63 64 69 public String getObjectUri() { 70 if (objectUri == null) { 71 return new String (); 72 } else { 73 return objectUri; 74 } 75 } 76 77 } 78 | Popular Tags |