KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > nio > charset > CoderMalfunctionError


1 /*
2  * @(#)CoderMalfunctionError.java 1.5 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.nio.charset;
9
10
11 /**
12  * Error thrown when the {@link CharsetDecoder#decodeLoop decodeLoop} method of
13  * a {@link CharsetDecoder}, or the {@link CharsetEncoder#encodeLoop
14  * encodeLoop} method of a {@link CharsetEncoder}, throws an unexpected
15  * exception.
16  *
17  * @version 1.5, 03/12/19
18  * @since 1.4
19  */

20
21 public class CoderMalfunctionError
22     extends Error JavaDoc
23 {
24
25     /**
26      * Initializes an instance of this class.
27      *
28      * @param cause
29      * The unexpected exception that was thrown
30      */

31     public CoderMalfunctionError(Exception JavaDoc cause) {
32     super(cause);
33     }
34
35 }
36
Popular Tags