avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/container/impl DefaultContainer.java
Date Thu, 27 Feb 2003 23:46:14 GMT
mcconnell    2003/02/27 15:46:14

  Modified:    merlin/src/java/org/apache/avalon/merlin/container/impl
                        DefaultContainer.java
  Log:
  Corrected exception message and generalized the initialization exception case.
  
  Revision  Changes    Path
  1.6       +3 -4      avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/container/impl/DefaultContainer.java
  
  Index: DefaultContainer.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/container/impl/DefaultContainer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DefaultContainer.java	17 Feb 2003 12:13:15 -0000	1.5
  +++ DefaultContainer.java	27 Feb 2003 23:46:11 -0000	1.6
  @@ -148,10 +148,9 @@
       * Initialization of the container.  The implememtation uses the intilization
       * phase to verify correct setup including validation of logging channel assignment
       * and container context.
  -    * @exception IllegalStateException if the logging or context phases have not been
  -    *   applied 
  +    * @exception Exception if an error occurs during container initialization
       */
  -    public void initialize() throws IllegalStateException
  +    public void initialize() throws Exception
       {
           if( getLogger() == null )
           {
  
  
  

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


Mime
View raw message