Name

MalformedInputException

Synopsis

Signals that input to the CharsetDecoder.decode( ) or CharsetEncoder.encode( ) method was malformed.

java.nio.charset.MalformedInputException

Figure 13-51. java.nio.charset.MalformedInputException

public class MalformedInputException extends CharacterCodingException {
// Public Constructors
     public MalformedInputException(int inputLength);  
// Public Instance Methods
     public int getInputLength( );  
// Public Methods Overriding Throwable
     public String getMessage( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.