code: public static int safeMultiplyToInt(long val1, long val2) {
          long val = FieldUtils.safeMultiply(val1, val2);
          return FieldUtils.safeToInt(val);
      }
docs: Multiply two values to return an int throwing an exception if overflow occurs.
  
  @param val1  the first value
  @param val2  the second value
  @return the new total
  @throws ArithmeticException if the value is too big or too small