1 /*2 * JBoss, the OpenSource J2EE webOS3 * 4 * Distributable under LGPL license. See terms of license at gnu.org.5 */6 7 package javax.emb;8 9 import javax.ejb.RemoveException;10 11 /**12 * This exception is thrown if a media entity EJB cannot be removed because it13 * has parents that contain links pointing to the receiver. Removing a media14 * entity EJB while it has parents would violate referential integrity and is15 * therefore forbidden.16 * 17 * @version <tt>$Revision: 1.3 $</tt>18 * @author <a HREF="mailto:ricardoarguello@users.sourceforge.net">Ricardo19 * Argüello</a>20 */21 public class ParentAssociationExistsException extends RemoveException22 {23 /**24 * @see javax.ejb.RemoveException()25 */26 public ParentAssociationExistsException()27 {28 super();29 }30 31 /**32 * @see javax.ejb.RemoveException(String)33 */34 public ParentAssociationExistsException(String message)35 {36 super(message);37 }38 }