commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6302 - trunk/gnue-appserver/src


From: johannes
Subject: r6302 - trunk/gnue-appserver/src
Date: Thu, 16 Sep 2004 08:51:05 -0500 (CDT)

Author: johannes
Date: 2004-09-16 08:51:04 -0500 (Thu, 16 Sep 2004)
New Revision: 6302

Modified:
   trunk/gnue-appserver/src/geasGsdGen.py
Log:
Removed old handlerStartupError () calls


Modified: trunk/gnue-appserver/src/geasGsdGen.py
===================================================================
--- trunk/gnue-appserver/src/geasGsdGen.py      2004-09-16 13:36:37 UTC (rev 
6301)
+++ trunk/gnue-appserver/src/geasGsdGen.py      2004-09-16 13:51:04 UTC (rev 
6302)
@@ -25,7 +25,7 @@
 import types
 import mx.DateTime
 
-from gnue.common.apps import i18n
+from gnue.common.apps import i18n, errors
 from gnue.common.schema import Objects
 from gnue.common.apps.GClientApp import *
 from gnue.common.datasources import GDataSource
@@ -39,10 +39,10 @@
 # Exceptions 
 # =============================================================================
 
-class CircularReferenceError (gException):
+class CircularReferenceError (errors.ApplicationError):
   def __init__ (self):
     msg = _("Classes have circular or unresolveable references")
-    gException.__init__ (self, msg)
+    errors.ApplicationError.__init__ (self, msg)
 
 
 # =============================================================================
@@ -95,7 +95,7 @@
 
   def run (self):
     if self.OPTIONS ['output'] is None:
-      self.handleStartupError (_("No output file specified."))
+      raise StartupError, _("No output file specified.")
 
     self.__filename = self.OPTIONS ['output']
     args = [unicode (a, i18n.encoding) for a in self.ARGUMENTS]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]