malformedinputexception.java
来自「JAVA基本类源代码,大家可以学习学习!」· Java 代码 · 共 38 行
JAVA
38 行
/* * @(#)MalformedInputException.java 1.8 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.nio.charset;/** * Checked exception thrown when an input byte sequence is not legal for given * charset, or an input character sequence is not a legal sixteen-bit Unicode * sequence. * * @since 1.4 */public class MalformedInputException extends CharacterCodingException{ private int inputLength; public MalformedInputException(int inputLength) { this.inputLength = inputLength; } public int getInputLength() { return inputLength; } public String getMessage() { return "Input length = " + inputLength; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?