KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > emb > FormatFeatureException


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 thrown whenever media content matches the overall syntax
11  * defined for a media format, but uses a feature that is not supported by the
12  * media format implementation, for example a specific sub-format. For example,
13  * a format bean for the BMP format that supports Windows BMP format only will
14  * throw such an exception when analyzing a BMP object featuring OS/2 BMP
15  * definitions.
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 FormatFeatureException extends MediaFormatException
22 {
23    /**
24     * @see javax.emb.MediaFormatException()
25     */

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

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

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

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