Merge 690402 from 0.9.7 to 1.1.x.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
A. Abram White 2008-11-13 21:06:48 +00:00
parent 6ade5e9e35
commit 975b98ff39
1 changed files with 3 additions and 0 deletions

View File

@ -1142,6 +1142,9 @@ public class BrokerImpl
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) {