 private method get parameters method throws exception 
