constructors and exception handling
From: Angus Parvis (angusparvis_at_hotmail.com)
Date: 07/28/04
- Previous message: Carlos: "executing remote command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 11:31:04 +0200
Hi,
When a method throws an exception, i always have to deal with it in some
way (let it fall through or catch it).
But when a constructor throws an exception, it does not have to be
caught. Why that?
I'm curious about the answer ;)
Greetings,
Angus
- Previous message: Carlos: "executing remote command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]