File
Doc
Category
Size
Date
Package
MalformedInputException.java
API Doc
Java SE 6 API
759
Tue Jun 10 00:25:42 BST 2008
java.nio.charset
MalformedInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.nio.charset.CharacterCodingException
public class MalformedInputException extends CharacterCodingException
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
Fields Summary
private int
inputLength
Constructors Summary
public MalformedInputException
(
int
inputLength)
this.inputLength = inputLength;
Methods Summary
public
int
getInputLength
()
return inputLength;
public
java.lang.String
getMessage
()
return "Input length = " + inputLength;
Java Code Source