KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > emb > ContentTooLargeException


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 the creation of a byte array is attempted
11  * that exceeds 2GB in size (the current hard limit of byte array size in
12  * Java).
13  *
14  * @version <tt>$Revision: 1.3 $</tt>
15  * @author <a HREF="mailto:ricardoarguello@users.sourceforge.net">Ricardo
16  * Argüello</a>
17  */

18 public class ContentTooLargeException extends MediaException
19 {
20    /**
21     * @see javax.emb.MediaException()
22     */

23    public ContentTooLargeException()
24    {
25       super();
26    }
27
28    /**
29     * @see javax.emb.MediaException(String)
30     */

31    public ContentTooLargeException(String message)
32    {
33       super(message);
34    }
35
36    /**
37     * @see javax.emb.MediaException(String, Throwable)
38     */

39    public ContentTooLargeException(String message, Throwable cause)
40    {
41       super(message, cause);
42    }
43
44    /**
45     * @see javax.emb.MediaException(Throwable)
46     */

47    public ContentTooLargeException(Throwable cause)
48    {
49       super(cause);
50    }
51 }
Popular Tags