Most visited

Recently visited

Added in API level 1

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)

Public methods

int getInputLength()
String getMessage()

Returns the detail message string of this throwable.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

MalformedInputException

Added in API level 1
MalformedInputException (int inputLength)

Parameters
inputLength int

Public methods

getInputLength

Added in API level 1
int getInputLength ()

Returns
int

getMessage

Added in API level 1
String getMessage ()

Returns the detail message string of this throwable.

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

Hooray!