Re: Structured exception information
- From: Stephen Leake <stephen_leake@xxxxxxxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 08:30:00 -0500
Maciej Sobczak <no.spam@xxxxxxxxxxx> writes:
X : My_Type := My_Constructor(Some_Parameters);
If there are problems during the execution of the constructor
function, the exception is raised, so that there is no X object in a
bad state.
How can I pass some error information from the constructor function
out, so that it's used when the exception is handled?
Why do you want to? Generally, all you can do is report the error to
the user.
Can you give a detailed example of passing more complex information
that is actually used?
--
-- Stephe
.
- Follow-Ups:
- Re: Structured exception information
- From: Brian May
- Re: Structured exception information
- From: Maciej Sobczak
- Re: Structured exception information
- References:
- Structured exception information
- From: Maciej Sobczak
- Structured exception information
- Prev by Date: Re: Structured exception information
- Next by Date: Re: Structured exception information (task, ANEX E)
- Previous by thread: Re: Structured exception information
- Next by thread: Re: Structured exception information
- Index(es):
Relevant Pages
|