svn commit: r923592 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r923592 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java

adrianc
Author: adrianc
Date: Tue Mar 16 06:46:17 2010
New Revision: 923592

URL: http://svn.apache.org/viewvc?rev=923592&view=rev
Log:
Fixed catch clause in ObjectType.java.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java?rev=923592&r1=923591&r2=923592&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/ObjectType.java Tue Mar 16 06:46:17 2010
@@ -516,7 +516,7 @@ public class ObjectType {
             LocalizedConverter<Object, Object> localizedConverter = null;
             try {
                 localizedConverter = (LocalizedConverter) converter;
-            } catch (Exception e) {}
+            } catch (ClassCastException e) {}
             if (localizedConverter != null) {
                 if (timeZone == null) {
                     timeZone = TimeZone.getDefault();