I'm not sure that raising error is best solution for the number which is out of range.
How do you think?