View Javadoc
1 /* 2 $Header: /cvsroot/ebxmlrr/ebxmlrr/src/share/com/sun/ebxml/registry/lcm/DuplicateSlotsException.java,v 1.1 2002/02/07 10:57:16 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 there exists more than one Slot within a single 11 AddSlotsRequest have the same name 12 x 13 @author Adrian Chong 14 */ 15 16 public class DuplicateSlotsException extends RegistryException { 17 18 private String parentId; 19 private ArrayList slotsNames; 20 21 public DuplicateSlotsException(String message) { 22 super(message); 23 } 24 25 public DuplicateSlotsException(String parentId, ArrayList slotsNames) { 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 are duplicate 36 */ 37 public ArrayList getSlotsNames(){ 38 return slotsNames; 39 } 40 }

This page was automatically generated by Maven