Class TruffleString.IllegalByteArrayLengthException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.oracle.truffle.api.strings.TruffleString.IllegalByteArrayLengthException
All Implemented Interfaces:
Serializable
Enclosing class:
TruffleString

public static final class TruffleString.IllegalByteArrayLengthException extends IllegalArgumentException
This exception is thrown when any operation tries to create a UTF-16 or UTF-32 string with an invalid byte length (not a multiple of 2/4 bytes).
Since:
22.3
See Also: