fixed spelling errors in Exceptions

Fixed spelling errors in Exceptions,
and changed a RuntimeException with an IllegalArgumentException