View Javadoc
1 /* 2 $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/lcm/ObjectNotFoundException.java,v 1.1 2002/04/06 18:58:04 skchonghk Exp $ 3 */ 4 5 package com.sun.ebxml.registry.lcm; 6 import java.util.*; 7 import com.sun.ebxml.registry.*; 8 9 /*** 10 The Exception that should be thrown when the RegistryObject of specified type 11 cannot be found. 12 13 @author Adrian Chong 14 */ 15 public class ObjectNotFoundException extends RegistryException { 16 17 private String id; 18 private String objectType; 19 20 public ObjectNotFoundException(String id, String objectType) { 21 super("The " + objectType + " " + id + " cannot be found"); 22 this.id = id; 23 } 24 25 public String getId() { 26 return id; 27 } 28 29 public String getObjectType() { 30 return objectType; 31 } 32 }

This page was automatically generated by Maven