1 /* 2 * JBoss, the OpenSource J2EE webOS 3 * 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 it 13 * has associations to a previous version in the version chain. Removing a 14 * media entity EJB while it has a previous version would violate referential 15 * integrity and is therefore forbidden. 16 * 17 * @version <tt>$Revision: 1.3 $</tt> 18 * @author <a HREF="mailto:ricardoarguello@users.sourceforge.net">Ricardo 19 * Argüello</a> 20 */ 21 public class PredecessorAssociationExistsException extends RemoveException 22 { 23 /** 24 * @see javax.ejb.RemoveException() 25 */ 26 public PredecessorAssociationExistsException() 27 { 28 super(); 29 } 30 31 /** 32 * @see javax.ejb.RemoveException(String) 33 */ 34 public PredecessorAssociationExistsException(String message) 35 { 36 super(message); 37 } 38 }