UnmappableCharacterException  |  API reference  |  Android Developers (original) (raw)

open class UnmappableCharacterException : CharacterCodingException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.io.IOException
java.nio.charset.CharacterCodingException

Checked exception thrown when an input character (or byte) sequence is valid but cannot be mapped to an output byte (or character) sequence.

Summary

Public constructors
UnmappableCharacterException(inputLength: Int) Constructs an UnmappableCharacterException with the given length.
Public methods
open Int getInputLength() Returns the length of the input.
Properties
open String? message Returns the message.

Public constructors

UnmappableCharacterException

UnmappableCharacterException(inputLength: Int)

Constructs an UnmappableCharacterException with the given length.

Parameters
inputLength Int: the length of the input

Public methods

getInputLength

open fun getInputLength(): Int

Returns the length of the input.

Return
Int the length of the input

Properties

message

open val message: String?

Returns the message.

Return
String? the message

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.