java.nio.charset
Class MalformedInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.nio.charset.CharacterCodingException
java.nio.charset.MalformedInputException
- All Implemented Interfaces:
- Serializable
public class MalformedInputException
- extends CharacterCodingException
- Since:
- 1.4
- See Also:
- Serialized Form
Method Summary |
int |
getInputLength()
Retrieves the position of the malformed input in the input stream. |
String |
getMessage()
Returns the detail message string of this throwable |
MalformedInputException
public MalformedInputException(int inputLength)
- Creates the exception
- Parameters:
inputLength
- the position of malformed input in the input stream
getInputLength
public int getInputLength()
- Retrieves the position of the malformed input in the input stream.
- Returns:
- the position
getMessage
public String getMessage()
- Returns the detail message string of this throwable
- Overrides:
getMessage
in class Throwable
- Returns:
- the message