include window class into diagnostics (met with documentation popup)

This commit is contained in:
Anna Kozlova
2014-05-26 07:46:10 +04:00
parent 2853c9574d
commit 2cf09bb7c8
@@ -189,7 +189,7 @@ public class MacUtil {
} else if (documentRoot instanceof Dialog) {
windowTitle = ((Dialog)documentRoot).getTitle();
} else {
throw new RuntimeException("The window is not a frame and not a dialog!");
throw new RuntimeException("The window " + documentRoot.getClass() + " is not a frame and not a dialog!");
}
return windowTitle;
}