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/block/impl DefaultBlock.java
Date Thu, 27 Feb 2003 23:43:46 GMT
mcconnell    2003/02/27 15:43:46

  Modified:    merlin/src/java/org/apache/avalon/merlin/block/impl
                        DefaultBlock.java
  Log:
  Improvement to runtime error reporting.
  
  Revision  Changes    Path
  1.9       +5 -1      avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/block/impl/DefaultBlock.java
  
  Index: DefaultBlock.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/src/java/org/apache/avalon/merlin/block/impl/DefaultBlock.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefaultBlock.java	19 Feb 2003 11:19:33 -0000	1.8
  +++ DefaultBlock.java	27 Feb 2003 23:43:45 -0000	1.9
  @@ -866,7 +866,11 @@
           {
               if( getLogger().isErrorEnabled() )
               {
  -                getLogger().error("state event: " + event, event.getError() );
  +                final String error = 
  +                  ExceptionHelper.packException( 
  +                    "Runtime containment error in: " 
  +                    + this, event.getError() );
  +                getLogger().error( error );
               }
           }
           else
  
  
  

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


Mime
View raw message