added another constructor to wrongparameterexception