public class MalformedInputException extends CharacterCodingException
Constructor and Description |
---|
MalformedInputException(int inputLength)
构造一个给定长度的
MalformedInputException 。
|
Modifier and Type | Method and Description |
---|---|
int |
getInputLength()
返回输入的长度。
|
String |
getMessage()
返回消息。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MalformedInputException(int inputLength)
MalformedInputException
。
inputLength
- 输入的长度
public int getInputLength()
public String getMessage()
getMessage
在
Throwable
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.