avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/service DefaultServiceManager.java
Date Sun, 10 Nov 2002 09:14:44 GMT
donaldp     2002/11/10 01:14:44

  Modified:    src/java/org/apache/avalon/framework/service
                        DefaultServiceManager.java
  Log:
  Extract message
  
  Revision  Changes    Path
  1.14      +2 -2      jakarta-avalon/src/java/org/apache/avalon/framework/service/DefaultServiceManager.java
  
  Index: DefaultServiceManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/service/DefaultServiceManager.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- DefaultServiceManager.java	10 Nov 2002 09:13:33 -0000	1.13
  +++ DefaultServiceManager.java	10 Nov 2002 09:14:44 -0000	1.14
  @@ -105,7 +105,6 @@
           throws ServiceException
       {
           final Object object = m_objects.get( key );
  -
           if( null != object )
           {
               return object;
  @@ -116,7 +115,8 @@
           }
           else
           {
  -            throw new ServiceException( key, "Unable to provide implementation for " +
key, null );
  +            final String message = "Unable to provide implementation for " + key;
  +            throw new ServiceException( key, message, null );
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message