commit-gnue
[Top][All Lists]
Advanced

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

r5638 - trunk/gnue-common/src/rpc


From: reinhard
Subject: r5638 - trunk/gnue-common/src/rpc
Date: Mon, 5 Apr 2004 07:32:43 -0500 (CDT)

Author: reinhard
Date: 2004-04-05 07:32:42 -0500 (Mon, 05 Apr 2004)
New Revision: 5638

Modified:
   trunk/gnue-common/src/rpc/client.py
   trunk/gnue-common/src/rpc/server.py
Log:
Derive all exceptions from gException.


Modified: trunk/gnue-common/src/rpc/client.py
===================================================================
--- trunk/gnue-common/src/rpc/client.py 2004-04-05 11:17:10 UTC (rev 5637)
+++ trunk/gnue-common/src/rpc/client.py 2004-04-05 12:32:42 UTC (rev 5638)
@@ -45,14 +45,14 @@
 # The basis of all rpc.client exceptions
 # -----------------------------------------------------------------------------
 
-class Error(StandardError):
+class Error (gException):
   pass
 
 # -----------------------------------------------------------------------------
 # Requested adapter does not exist
 # -----------------------------------------------------------------------------
 
-class InvalidAdapter(Error):
+class InvalidAdapter (Error):
   pass
 
 # -----------------------------------------------------------------------------
@@ -60,7 +60,7 @@
 # supplied parameters do not point to a valid server, etc.
 # -----------------------------------------------------------------------------
 
-class AdapterInitializationError(Error):
+class AdapterInitializationError (Error):
   pass
 
 # -----------------------------------------------------------------------------
@@ -69,14 +69,14 @@
 # supplied.
 # -----------------------------------------------------------------------------
 
-class AdapterConfigurationError(AdapterInitializationError):
+class AdapterConfigurationError (AdapterInitializationError):
   pass
 
 # -----------------------------------------------------------------------------
 # Parent for all caller errors
 # -----------------------------------------------------------------------------
 
-class ProgrammingError(Error):
+class ProgrammingError (Error):
   pass
 
 # -----------------------------------------------------------------------------
@@ -84,14 +84,14 @@
 # exposed by the server.
 # -----------------------------------------------------------------------------
 
-class InvalidService(ProgrammingError):
+class InvalidService (ProgrammingError):
   pass
 
 # -----------------------------------------------------------------------------
 # An invalid parameter was passed to a RPC
 # -----------------------------------------------------------------------------
 
-class InvalidParameter(ProgrammingError):
+class InvalidParameter (ProgrammingError):
   pass
 
 # -----------------------------------------------------------------------------
@@ -99,7 +99,7 @@
 # raised again on the server
 # -----------------------------------------------------------------------------
 
-class DistantError(Error):
+class DistantError (Error):
   pass
 
 # =============================================================================

Modified: trunk/gnue-common/src/rpc/server.py
===================================================================
--- trunk/gnue-common/src/rpc/server.py 2004-04-05 11:17:10 UTC (rev 5637)
+++ trunk/gnue-common/src/rpc/server.py 2004-04-05 12:32:42 UTC (rev 5638)
@@ -107,7 +107,7 @@
 # The basis of all rpc.client exceptions
 # -----------------------------------------------------------------------------
 
-class Error (StandardError):
+class Error (gException):
   pass
 
 # -----------------------------------------------------------------------------
@@ -138,14 +138,14 @@
 # Parent for all caller errors
 # -----------------------------------------------------------------------------
 
-class ProgrammingError(Error):
+class ProgrammingError (Error):
   pass
 
 # -----------------------------------------------------------------------------
 # An invalid parameter was passed to a RPC
 # -----------------------------------------------------------------------------
 
-class InvalidParameter(ProgrammingError):
+class InvalidParameter (ProgrammingError):
   pass
 
 # =============================================================================





reply via email to

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