Removal of magic number, exception arguments

Changed the IllegalInputException constructor arguments to better fit
the method
Added javadoc and added 'Input must be ' default