public class

MalformedInputException

extends CharacterCodingException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ java.nio.charset.CharacterCodingException
           ↳ java.nio.charset.MalformedInputException

Class Overview

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.

Summary

Public Constructors
MalformedInputException(int inputLength)
Public Methods
int getInputLength()
String getMessage()
Returns the detail message string of this throwable.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MalformedInputException (int inputLength)

Public Methods

public int getInputLength ()

public String getMessage ()

Returns the detail message string of this throwable.

Returns
  • the detail message string of this Throwable instance (which may be null).