Fix arguments passed to exception so they are put in message correctly
(requires rebuild of datanucleus-api-jdo)