Eliminate magic numbers for readability
Explicitly convert numbers to int
Add supplied values to exception message text