Return-Path: Delivered-To: apmail-avalon-cvs-archive@avalon.apache.org Received: (qmail 32975 invoked by uid 500); 11 Feb 2003 07:01:08 -0000 Mailing-List: contact cvs-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list cvs@avalon.apache.org Received: (qmail 32962 invoked from network); 11 Feb 2003 07:01:08 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 11 Feb 2003 07:01:08 -0000 Received: (qmail 40420 invoked by uid 1438); 11 Feb 2003 07:01:07 -0000 Date: 11 Feb 2003 07:01:07 -0000 Message-ID: <20030211070107.40419.qmail@icarus.apache.org> From: mcconnell@apache.org To: avalon-cvs@apache.org Subject: cvs commit: avalon/src/java/org/apache/avalon/framework/service ServiceException.java DefaultServiceSelector.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mcconnell 2003/02/10 23:01:07 Modified: src/java/org/apache/avalon/framework/service ServiceException.java DefaultServiceSelector.java Log: Added missing javadoc and corrected some @exception declarations. Revision Changes Path 1.17 +2 -1 avalon/src/java/org/apache/avalon/framework/service/ServiceException.java Index: ServiceException.java =================================================================== RCS file: /home/cvs/avalon/src/java/org/apache/avalon/framework/service/ServiceException.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- ServiceException.java 10 Feb 2003 07:19:18 -0000 1.16 +++ ServiceException.java 11 Feb 2003 07:01:07 -0000 1.17 @@ -65,7 +65,7 @@ public class ServiceException extends CascadingException { - final private String m_key; + private final String m_key; /** * Construct a new ServiceException instance. @@ -82,6 +82,7 @@ /** * Construct a new ServiceException instance. * + * @param key the lookup key * @param message the exception message * @param throwable the throwable */ 1.12 +3 -3 avalon/src/java/org/apache/avalon/framework/service/DefaultServiceSelector.java Index: DefaultServiceSelector.java =================================================================== RCS file: /home/cvs/avalon/src/java/org/apache/avalon/framework/service/DefaultServiceSelector.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- DefaultServiceSelector.java 10 Feb 2003 07:19:18 -0000 1.11 +++ DefaultServiceSelector.java 11 Feb 2003 07:01:07 -0000 1.12 @@ -74,7 +74,7 @@ * * @param hint the hint to retrieve Object * @return the Object - * @throws ComponentException if an error occurs + * @throws ServiceException if an error occurs */ public Object select( Object hint ) throws ServiceException @@ -87,8 +87,8 @@ } else { - throw new ServiceException( "Unable to provide implementation for " + - hint.toString() ); + throw new ServiceException( "Unable to provide implementation for " + + hint.toString() ); } } --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org For additional commands, e-mail: cvs-help@avalon.apache.org