22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.nio.charset;
27
28
29 /**
30 * Error thrown when the {@link CharsetDecoder#decodeLoop decodeLoop} method of
31 * a {@link CharsetDecoder}, or the {@link CharsetEncoder#encodeLoop
32 * encodeLoop} method of a {@link CharsetEncoder}, throws an unexpected
33 * exception.
34 *
35 * @since 1.4
36 */
37
38 public class CoderMalfunctionError
39 extends Error
40 {
41
42 private static final long serialVersionUID = -1151412348057794301L;
43
44 /**
45 * Initializes an instance of this class.
46 *
47 * @param cause
48 * The unexpected exception that was thrown
49 */
50 public CoderMalfunctionError(Exception cause) {
51 super(cause);
52 }
53
54 }
|
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package java.nio.charset;
27
28
29 /**
30 * Error thrown when the {@link CharsetDecoder#decodeLoop decodeLoop} method of
31 * a {@link CharsetDecoder}, or the {@link CharsetEncoder#encodeLoop
32 * encodeLoop} method of a {@link CharsetEncoder}, throws an unexpected
33 * exception.
34 *
35 * @since 1.4
36 */
37
38 public class CoderMalfunctionError
39 extends Error
40 {
41
42 @java.io.Serial
43 private static final long serialVersionUID = -1151412348057794301L;
44
45 /**
46 * Initializes an instance of this class.
47 *
48 * @param cause
49 * The unexpected exception that was thrown
50 */
51 public CoderMalfunctionError(Exception cause) {
52 super(cause);
53 }
54
55 }
|