DERBY-6346: Dump wrapped Java exceptions to derby.log; tests passed cleanly on derby-6346-01-aa-logJavaException.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1524026 13f79535-47bb-0310-9956-ffa450edef68