Merging exception creation with throw