A
Axel Gallus
I am desperately looking for some resources dealing with error handling in
c++.
Don't get me wrong.... I have very detailed knowledge of exceptions,
assertions and invariants,
but what is missing it the following:
1.)
When developing a commercial application, how does the usage of
exceptions and assertions as well as
other mechanisms look like in the development lifecycle and in the
end-product?
E.g. do the developer only use assertions in debug phase? When do they
use assertions when exceptions.
Do they use exceptions for such daily things as to report if some
functions parameters weren't delivered right?
Moreover if performance is crucial, how can that shift the usage of
exceptions, assertions and other mechanisms.
2.)
How does the logic of a more sophisticated error-handler class system
look like?
E.g. how looks a system which capabilities to identify and reporting the
problem to other subroutines/user,
recovering from error and correcting the problem?
3.)
How does a error handler system which should be prepared for
mutilanguage support as well
as concurrency (threads) look like?
I hope someone can give be a hint for a book or other resources like
www-sites which address
this kind of problems it would be great.
Greetings
A.Gallus
c++.
Don't get me wrong.... I have very detailed knowledge of exceptions,
assertions and invariants,
but what is missing it the following:
1.)
When developing a commercial application, how does the usage of
exceptions and assertions as well as
other mechanisms look like in the development lifecycle and in the
end-product?
E.g. do the developer only use assertions in debug phase? When do they
use assertions when exceptions.
Do they use exceptions for such daily things as to report if some
functions parameters weren't delivered right?
Moreover if performance is crucial, how can that shift the usage of
exceptions, assertions and other mechanisms.
2.)
How does the logic of a more sophisticated error-handler class system
look like?
E.g. how looks a system which capabilities to identify and reporting the
problem to other subroutines/user,
recovering from error and correcting the problem?
3.)
How does a error handler system which should be prepared for
mutilanguage support as well
as concurrency (threads) look like?
I hope someone can give be a hint for a book or other resources like
www-sites which address
this kind of problems it would be great.
Greetings
A.Gallus