MalformedInputException - JRE Emulation | JRE Emulation
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)
Constructs an MalformedInputException with the given length.
Public Methods
int getInputLength()
Returns the length of the input.
String getMessage()
Returns the message.
Inherited Methods
[Expand]
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MalformedInputException (int inputLength)

Constructs an MalformedInputException with the given length.

Parameters
inputLength the length of the input

Public Methods

public int getInputLength ()

Returns the length of the input.

Returns
  • the length of the input

public String getMessage ()

Returns the message.

Returns
  • the message