Author: johannes
Date: 2007-11-14 08:46:36 -0600 (Wed, 14 Nov 2007)
New Revision: 9804
Modified:
trunk/gnue-common/src/apps/errors.py
Log:
Fixed/added comments
Modified: trunk/gnue-common/src/apps/errors.py
===================================================================
--- trunk/gnue-common/src/apps/errors.py 2007-11-14 14:16:55 UTC (rev
9803)
+++ trunk/gnue-common/src/apps/errors.py 2007-11-14 14:46:36 UTC (rev
9804)
@@ -24,7 +24,7 @@
"""
General exception classes.
-This module is *DEPRECATED*. Please use gnue.common.base.i18n instead
+This module is *DEPRECATED*. Please use gnue.common.base.errors instead
"""
import sys
@@ -47,6 +47,9 @@
class gException(errors.Error):
"""
+ This class is *DEPRECATED*. Please use gnue.common.base.errors.Error
+ instead.
+
The same as the builtin python Exception, but can handle messages that are
unicode strings. This exception is available as the builtin class
"gException". All other user-defined exceptions should be derived from
@@ -132,6 +135,9 @@
def getException(count=None, aType=None, aValue=None, aTrace=None):
"""
+ This function is *DEPRECATED*. Please use
+ gnue.common.base.errors.get_exception instead.
+
Return textual information about an exception.
This function creates a tuple (group, name, message, detail) for the last
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue