Re: [Lapackpp-devel] error handling
Status: Beta
Brought to you by:
cstim
From: Dominik W. <dom...@ar...> - 2006-11-24 13:05:39
|
> However, the assertions in lapackpp are intended to check for *programming* errors. Okay. I have another aim here... In my libs I try to catch all errors even programming errors. But it's okay if you do not want to add a real error class. > a failed assertion should indeed print an error message including the > source code file name, line number, and the failed condition. Without a console no output! :) As I said before if you use your in lib in a GUI-Tool the tool just quits without any hint why it does crash... Of course it's a programming error of the GUI-programmer because he has made a mistake in matrix allocation or something, but I do not know if a user cares about that. He only sees his GUI crash and loose all data. ;) Greetings, Dominik |