Build 1.0_r1(from source)

java.nio.charset
Class UnmappableCharacterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.nio.charset.CharacterCodingException
                  extended by java.nio.charset.UnmappableCharacterException
All Implemented Interfaces:
Serializable

public class UnmappableCharacterException
extends CharacterCodingException

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

See Also:
Serialized Form

Constructor Summary
UnmappableCharacterException(int length)
          Constructs an instance of this exception.
 
Method Summary
 int getInputLength()
          Gets the length of the unmappable character.
 String getMessage()
          Gets a message describing this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnmappableCharacterException

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

Parameters:
length - the length of the unmappable character
Method Detail

getInputLength

public int getInputLength()
Gets the length of the unmappable character.

Returns:
the length of the unmappable character

getMessage

public String getMessage()
Gets a message describing this exception.

Overrides:
getMessage in class Throwable
Returns:
a message describing this exception

Build 1.0_r1(from source)

Please submit a feedback, bug or feature