View Javadoc
1 /* 2 $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/lcm/ReferencedObjectNotFoundException.java,v 1.1 2002/02/13 18:47:31 skchonghk Exp $ 3 */ 4 5 package com.sun.ebxml.registry.lcm; 6 import java.util.*; 7 import com.sun.ebxml.registry.*; 8 9 /*** 10 This exception will be thrown when Association/Classification/ClassificationNode 11 /Organization is referencing a object that is <br> 12 13 - not specified by ObjectRef but the referenced object does not exist within 14 the request <br> 15 - specified by ObjectRef but actually the object does not exist in Registry <br> 16 17 @author Adrian Chong 18 */ 19 20 public class ReferencedObjectNotFoundException extends RegistryException { 21 22 private String referencingId; 23 private String referencedId; 24 25 public ReferencedObjectNotFoundException(String message) { 26 super(message); 27 } 28 29 public ReferencedObjectNotFoundException(String referencingId, String 30 referencedId) { 31 super ("The object " + referencingId + " is referencing the object " 32 + referencedId + " that does not exist. " 33 + "The referenced object should be already in Registry or in the " 34 + "request document"); 35 this.referencingId=referencingId; 36 this.referencedId=referencedId; 37 } 38 39 public String getReferencingId() { 40 return referencingId; 41 } 42 43 public String getReferencedId() { 44 return referencedId; 45 } 46 }

This page was automatically generated by Maven