FileDocCategorySizeDatePackage
UnmappableCharacterException.javaAPI DocAndroid 1.5 API2268Wed May 06 22:41:04 BST 2009java.nio.charset

UnmappableCharacterException

public class UnmappableCharacterException extends CharacterCodingException
An {@code UnmappableCharacterException} is thrown when an unmappable character for the given charset is encountered.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private int
inputLength
Constructors Summary
public UnmappableCharacterException(int length)
Constructs a new {@code UnmappableCharacterException}.

param
length the length of the unmappable character.
since
Android 1.0


                                     
       
        this.inputLength = length;
    
Methods Summary
public intgetInputLength()
Gets the length of the unmappable character.

return
the length of the unmappable character.
since
Android 1.0

        return this.inputLength;
    
public java.lang.StringgetMessage()
Gets a message describing this exception.

return
a message describing this exception.
since
Android 1.0

        // niochar.0A=The unmappable character length is {0}.
        return Messages.getString("niochar.0A", this.inputLength); //$NON-NLS-1$