IDEA-63772 Exception in the JPA Console

This commit is contained in:
Gregory Shrago
2011-03-11 16:49:16 +03:00
parent 12afa176f6
commit 58eb5a5939
@@ -94,7 +94,7 @@ public class RemoteObject implements Remote, Unreferenced {
boolean foreignException = false;
Throwable each = ex;
while (each != null) {
if (!each.getClass().getName().startsWith("java") && !isKnownException(each)) {
if (!each.getClass().getName().startsWith("java.") && !isKnownException(each)) {
foreignException = true;
break;
}