View Javadoc
1 /* 2 $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/lcm/NonRegistryEntryFoundException.java,v 1.1 2002/03/22 10: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 if non-registry entries can be found in ApproveObjectsRequest 11 or DeprecateObjectsRequest 12 13 @author Adrian Chong 14 */ 15 16 public class NonRegistryEntryFoundException extends RegistryException { 17 18 private String id; 19 20 public NonRegistryEntryFoundException(String id) { 21 super("The status of object " + id + " cannot be updated. " 22 + "Only RegistryEntry can be approved or deprecated."); 23 this.id = id; 24 } 25 26 public String getId() { 27 return id; 28 } 29 }

This page was automatically generated by Maven