commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons/configuration/src/java/org/apache/commons/configuration BasePropertiesConfiguration.java
Date Sat, 13 Mar 2004 17:34:37 GMT
epugh       2004/03/13 09:34:37

  Modified:    configuration/src/java/org/apache/commons/configuration
                        BasePropertiesConfiguration.java
  Log:
  Instead of sinking the error, let's throw it properly.
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-commons/configuration/src/java/org/apache/commons/configuration/BasePropertiesConfiguration.java
  
  Index: BasePropertiesConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/java/org/apache/commons/configuration/BasePropertiesConfiguration.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BasePropertiesConfiguration.java	27 Feb 2004 17:41:35 -0000	1.4
  +++ BasePropertiesConfiguration.java	13 Mar 2004 17:34:37 -0000	1.5
  @@ -166,7 +166,7 @@
               }
               catch (UnsupportedEncodingException e)
               {
  -                // Get one with the default encoding...
  +                throw new ConfigurationException("Should look up and use default encoding.",e);
               }
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message