Android
java.nio.charset
public class

java.nio.charset.UnmappableCharacterException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.io.IOException
java.nio.charset.CharacterCodingException
java.nio.charset.UnmappableCharacterException

Thrown when an unmappable character for the given charset is encountered.

Summary

Public Constructors

            UnmappableCharacterException(int length)
Constructs an instance of this exception.

Public Methods

          int  getInputLength()
Gets the length of the unmappable character.
          String  getMessage()
Gets a message describing this exception.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public UnmappableCharacterException(int length)

Constructs an instance of this exception.

Parameters

length the length of the unmappable character

Public Methods

public int getInputLength()

Gets the length of the unmappable character.

Returns

  • the length of the unmappable character

public String getMessage()

Gets a message describing this exception.

Returns

  • a message describing this exception
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56