Minor modifcations to InvalidRangeException class

Added a constructor and inherited ApplicationException.