openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awh...@apache.org
Subject svn commit: r713823 - /openjpa/branches/1.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
Date Thu, 13 Nov 2008 21:06:48 GMT
Author: awhite
Date: Thu Nov 13 13:06:48 2008
New Revision: 713823

URL: http://svn.apache.org/viewvc?rev=713823&view=rev
Log:
Merge 690402 from 0.9.7 to 1.1.x.


Modified:
    openjpa/branches/1.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java

Modified: openjpa/branches/1.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java?rev=713823&r1=713822&r2=713823&view=diff
==============================================================================
--- openjpa/branches/1.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
(original)
+++ openjpa/branches/1.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
Thu Nov 13 13:06:48 2008
@@ -1142,6 +1142,9 @@
             default:
                 throw new UserException(_loc.get("meta-unknownid", cls));
             }
+        } catch (IllegalArgumentException iae) {
+            throw new UserException(_loc.get("bad-id-value", val, 
+                val.getClass().getName(), cls)).setCause(iae);
         } catch (OpenJPAException ke) {
             throw ke;
         } catch (ClassCastException cce) {



Mime
View raw message