View Javadoc
1 /* 2 $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/lcm/SlotsExistException.java,v 1.1 2002/02/07 10:56:43 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 some Slots for a RegistryObject already exist. 11 12 @author Adrian Chong 13 */ 14 15 public class SlotsExistException extends RegistryException { 16 17 private String parentId; 18 private ArrayList slotsNames; 19 20 public SlotsExistException(String message) { 21 super(message); 22 } 23 24 public SlotsExistException(String parentId, ArrayList slotsNames) { 25 super("Some slots already exist"); 26 this.parentId = parentId; 27 this.slotsNames = slotsNames; 28 } 29 30 public String getParentId() { 31 return parentId; 32 } 33 34 /*** 35 Get the names of those Slots that already exist 36 */ 37 public ArrayList getSlotsNames(){ 38 return slotsNames; 39 } 40 }

This page was automatically generated by Maven