Added in API level 1
UnmappableCharacterException
open class UnmappableCharacterException : CharacterCodingException
kotlin.Any | |||||
↳ | kotlin.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.io.IOException | ||||
↳ | java.nio.charset.CharacterCodingException | ||||
↳ | java.nio.charset.UnmappableCharacterException |
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 |
Public methods | |
---|---|
open Int |
Returns the length of the input. |
Properties | |
---|---|
open String? |
Returns the message. |
Public constructors
UnmappableCharacterException
Added in API level 1
UnmappableCharacterException(inputLength: Int)
Constructs an UnmappableCharacterException
with the given length.
Parameters | |
---|---|
inputLength |
Int: the length of the input |
Public methods
getInputLength
Added in API level 1
open fun getInputLength(): Int
Returns the length of the input.
Return | |
---|---|
Int |
the length of the input |
Properties
message
Added in API level 1
open val message: String?
Returns the message.
Return | |
---|---|
String? |
the message |