Author: adrianc
Date: Tue Mar 16 06:46:17 2010
New Revision: 923592
URL:
http://svn.apache.org/viewvc?rev=923592&view=revLog:
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();