What are you trying to do? See if an int value is in the possible range of
values of a char? Recall that casting may truncate, but it will never throw
an exception. Type char is essentially a 16-bit unsigned integer type, so
if you want to see if an int value is in range,
test to see if it is in [0, 0xffff]