From: Wolfgang M. M. <wol...@us...> - 2004-08-06 15:34:46
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18526/src/org/exist/client Modified Files: InteractiveClient.java Log Message: Catch Throwable (instead of XMLDBException only) in the main loop to avoid gui freeze. Index: InteractiveClient.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/client/InteractiveClient.java,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** InteractiveClient.java 2 Jul 2004 18:05:44 -0000 1.33 --- InteractiveClient.java 6 Aug 2004 15:34:30 -0000 1.34 *************** *** 1045,1053 **** path = newPath; return true; ! } catch (XMLDBException xde) { if (startGUI) ! ClientFrame.showErrorMessage(getExceptionMessage(xde), xde); else ! System.err.println(getExceptionMessage(xde)); return true; } --- 1045,1053 ---- path = newPath; return true; ! } catch (Throwable e) { if (startGUI) ! ClientFrame.showErrorMessage(getExceptionMessage(e), e); else ! System.err.println(getExceptionMessage(e)); return true; } |