commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r555627 - /jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
Date Thu, 12 Jul 2007 13:45:22 GMT
Author: niallp
Date: Thu Jul 12 06:45:21 2007
New Revision: 555627

URL: http://svn.apache.org/viewvc?view=rev&rev=555627
Log:
Just re-throw if exception is already a ConversionException

Modified:
    jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java?view=diff&rev=555627&r1=555626&r2=555627
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
(original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
Thu Jul 12 06:45:21 2007
@@ -233,6 +233,9 @@
             if (useDefault) {
                 return (defaultValue);
             } else {
+                if (e instanceof ConversionException) {
+                    throw (ConversionException)e;
+                }
                 throw new ConversionException(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