Wrap ArgumentException thrown thrown from resource constructor in ResourceValidationException on server side.