/** Perform the "restore" action on the current window. */ protected void _restore() throws SAFSException { String message = null; try { sUtils.restoreWindow(testRecordData.getWindowGuiId()); return; } catch (Throwable se) { message = "Can not resotre window by native function. Exception=" + se.getMessage(); Log.warn(message); // If we fail to restore window, try the SAFS Robot to do. try { super._restore(); return; } catch (Exception e) { message = "Can not resotre window by SAFS Robot. Exception=" + se.getMessage(); Log.error(message); throw new SAFSException(message); } } }