Deprecated: Can throw an exception when it's impossible to represent the value with Char type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.
The maximum value in the range (exclusive).
IllegalStateException - can be thrown if the exclusive end bound cannot be represented
with a value of type T.