KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > emb > ParentAssociationExistsException


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 parents that contain links pointing to the receiver. Removing a media
14  * entity EJB while it has parents would violate referential integrity and is
15  * 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 ParentAssociationExistsException extends RemoveException
22 {
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 }
Popular Tags