KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > emb > MediaException


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 /**
10  * This exception is root to most application specific exceptions thrown by
11  * Enterprise Media Beans components. The idea is to abstract over the specific
12  * causes of exceptional behavior as the causes of such behavior can differ a
13  * lot between different Enterprise Media Beans implementations. As this would
14  * prevent applications to be written in an implementation independent way,
15  * these causes have to be mapped to a unified exception model.
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 MediaException extends Exception
22 {
23    /**
24     * @see java.lang.Exception()
25     */

26    public MediaException()
27    {
28       super();
29    }
30
31    /**
32     * @see java.lang.Exception(String)
33     */

34    public MediaException(String message)
35    {
36       super(message);
37    }
38
39    /**
40     * @see java.lang.Exception(String, Throwable)
41     */

42    public MediaException(String message, Throwable cause)
43    {
44       super(message, cause);
45    }
46
47    /**
48     * @see java.lang.Exception(Throwable)
49     */

50    public MediaException(Throwable cause)
51    {
52       super(cause);
53    }
54 }
Popular Tags