# Print output for @column tags ?> MalformedInputException - Android SDK | Android Developers

Most visited


Recently visited


MalformedInputException

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


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)

Constructs an MalformedInputException with the given length.

Public methods

int getInputLength()

Returns the length of the input.

String getMessage()

Returns the message.

Inherited methods

Public constructors


MalformedInputException

public MalformedInputException (int inputLength)

Constructs an MalformedInputException with the given length.

Parameters
inputLength int: the length of the input

Public methods


getInputLength

public int getInputLength ()

Returns the length of the input.

Returns
int the length of the input

getMessage

public String getMessage ()

Returns the message.

Returns
String the message

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.