is throwing exception from a constructor not a good practice ?
yes, because constructor does not throws an exception