Throw special exception if a time can not be parsed.