james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r168009 - /james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/transport/matchers/AbstractStorageQuota.java
Date Tue, 03 May 2005 22:27:35 GMT
Author: noel
Date: Tue May  3 15:27:34 2005
New Revision: 168009

URL: http://svn.apache.org/viewcvs?rev=168009&view=rev
Log:
replace deprecated ServiceException.getRole() with getKey()

Modified:
    james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/transport/matchers/AbstractStorageQuota.java

Modified: james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/transport/matchers/AbstractStorageQuota.java
URL: http://svn.apache.org/viewcvs/james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/transport/matchers/AbstractStorageQuota.java?rev=168009&r1=168008&r2=168009&view=diff
==============================================================================
--- james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/transport/matchers/AbstractStorageQuota.java
(original)
+++ james/server/branches/merge_v2_and_trunk/src/java/org/apache/james/transport/matchers/AbstractStorageQuota.java
Tue May  3 15:27:34 2005
@@ -67,12 +67,12 @@
         try {
             mailServer = (MailServer) compMgr.lookup(MailServer.ROLE);
         } catch (ServiceException e) {
-            log("Exception in getting the MailServer: " + e.getMessage() + e.getRole());
+            log("Exception in getting the MailServer: " + e.getMessage() + e.getKey());
         }        
         try {
             usersStore = (UsersStore)compMgr.lookup(UsersStore.ROLE);
         } catch (ServiceException e) {
-            log("Exception in getting the UsersStore: " + e.getMessage() + e.getRole());
+            log("Exception in getting the UsersStore: " + e.getMessage() + e.getKey());
         }        
         localusers = (UsersRepository)usersStore.getRepository("LocalUsers");
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message