John D wrote:
Commonly called "2 step construction". But you forgot to add the check on the return val from c.create().

No need to - c.create() should throw if it fails.

Reply via email to