avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor SingleAppEmbeddor.java
Date Fri, 23 Aug 2002 04:13:39 GMT
colus       2002/08/22 21:13:39

  Modified:    src/java/org/apache/avalon/phoenix/components/embeddor
                        SingleAppEmbeddor.java
  Log:
  Fix ComponentException constructor deprecation.
  
  Revision  Changes    Path
  1.26      +1 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/SingleAppEmbeddor.java
  
  Index: SingleAppEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/SingleAppEmbeddor.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- SingleAppEmbeddor.java	6 Aug 2002 11:57:40 -0000	1.25
  +++ SingleAppEmbeddor.java	23 Aug 2002 04:13:39 -0000	1.26
  @@ -70,7 +70,7 @@
           final Object component = m_application.getBlock( role );
           if( null == component )
           {
  -            throw new ComponentException( "Unable to get reference to component " + role
);
  +            throw new ComponentException( role, "Could not find component" );
           }
           return (Component)component;
       }
  
  
  

--
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