| | |
| | | } |
| | | catch (Throwable t) { |
| | | ue = new ApplicationException( |
| | | ApplicationException.Type.BUG, |
| | | ApplicationReturnCode.ReturnCode.BUG, |
| | | getThrowableMsg("bug-msg", t), t); |
| | | status = UninstallProgressStep.FINISHED_WITH_ERROR; |
| | | String msg = getFormattedError(ue, true); |
| | |
| | | errMsg = getMsg("error-deleting-directory", arg); |
| | | } |
| | | throw new ApplicationException( |
| | | ApplicationException.Type.FILE_SYSTEM_ERROR, errMsg, null); |
| | | ApplicationReturnCode.ReturnCode.FILE_SYSTEM_ACCESS_ERROR, |
| | | errMsg, null); |
| | | } |
| | | |
| | | notifyListeners(getFormattedDone() + getLineBreak()); |
| | |
| | | break; |
| | | default: |
| | | throw new ApplicationException( |
| | | ApplicationException.Type.WINDOWS_SERVICE_ERROR, |
| | | ApplicationReturnCode.ReturnCode.WINDOWS_SERVICE_ERROR, |
| | | errorMessage, null); |
| | | } |
| | | } |