Mailinglist Archive: zypp-devel (116 mails)
| < Previous | Next > |
[zypp-devel] Improve error reports by creating an error stack?
- From: Michael Andres <ma@xxxxxxx>
- Date: Mon, 18 Jun 2007 14:06:06 +0200
- Message-id: <20070618120606.GA27582@xxxxxxx>
At various locations we catch exceptions and translate them into other
exceptions.
Would it be helpfull, if we'd create a simple stack of error strings in
class Exception? So we could store and propagate the old Exceptions
asString and/or asUserString.
Something like this:
Failed to create repository.
-Reason: Failed to parse some file
-Reason: Failed to provide some file
-Reason: File not found
But it's only worth the efford, if the UI is willing to display such
multiline stacklike error messages.
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |