1 23 24 package org.apache.slide.structure; 25 26 import org.apache.slide.util.Messages; 27 28 33 public class CrossServerBindingException extends StructureException { 34 35 private String sourceUri; 36 private String collectionUri; 37 38 44 public CrossServerBindingException(String sourceUri, String collectionUri) { 45 super(Messages.format(CrossServerBindingException.class.getName(), 46 sourceUri, collectionUri)); 47 this.sourceUri = sourceUri; 48 this.collectionUri = collectionUri; 49 } 50 51 54 public String getSourceUri() { 55 if (sourceUri == null) { 56 return new String (); 57 } else { 58 return sourceUri; 59 } 60 } 61 62 65 public String getCollectionUri() { 66 if (collectionUri == null) { 67 return new String (); 68 } else { 69 return collectionUri; 70 } 71 } 72 } 73 | Popular Tags |