KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > emb > ConversionException


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 is thrown if the actual conversion of media content from one format to
11  * another fails and the reason for this is not related to the media formats
12  * involved, but rather because of a limitation of the converter. For example,
13  * a BMP to JPEG converter can fail because it does not support a specific
14  * format feature in the source, while the format bean handling the input
15  * format itself may well support this feature.
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 ConversionException extends MediaException
22 {
23    /**
24     * @see javax.emb.MediaException()
25     */

26    public ConversionException()
27    {
28       super();
29    }
30
31    /**
32     * @see javax.emb.MediaException(String)
33     */

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

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

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