if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE) raiseOverflowException(number, targetClass); if (value < Short.MIN_VALUE || value > Short.MAX_VALUE) raiseOverflowException(number, targetClass); if (value < Integer.MIN_VALUE || value > Integer.MAX_VALUE) raiseOverflowException(number, targetClass);