| | |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ReturnCode getReturnCode() { |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * Initialize the different map used in this class. |
| | | */ |
| | | private void initMaps() { |
| | |
| | | } |
| | | catch (Throwable t) { |
| | | ue = new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.BUG, |
| | | ReturnCode.BUG, |
| | | getThrowableMsg(INFO_BUG_MSG.get(), t), t); |
| | | status = UninstallProgressStep.FINISHED_WITH_ERROR; |
| | | Message msg = getFormattedError(ue, true); |
| | |
| | | errMsg = INFO_ERROR_DELETING_DIRECTORY.get(file.getAbsolutePath()); |
| | | } |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.FILE_SYSTEM_ACCESS_ERROR, |
| | | ReturnCode.FILE_SYSTEM_ACCESS_ERROR, |
| | | errMsg, null); |
| | | } |
| | | |
| | |
| | | break; |
| | | default: |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.WINDOWS_SERVICE_ERROR, |
| | | ReturnCode.WINDOWS_SERVICE_ERROR, |
| | | errorMessage, null); |
| | | } |
| | | } |
| | |
| | | Message errorMessage = INFO_ERROR_CONFIGURING_REMOTE_GENERIC.get( |
| | | serverDisplay, t.toString()); |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.CONFIGURATION_ERROR, errorMessage, |
| | | ReturnCode.CONFIGURATION_ERROR, errorMessage, |
| | | t); |
| | | } |
| | | ADSContext adsContext = new ADSContext(ctx); |
| | |
| | | ADSContextException.ErrorType.NOT_YET_REGISTERED) |
| | | { |
| | | throw new ApplicationException( |
| | | ApplicationReturnCode.ReturnCode.CONFIGURATION_ERROR, |
| | | ReturnCode.CONFIGURATION_ERROR, |
| | | INFO_REMOTE_ADS_EXCEPTION.get( |
| | | serverDisplay, ace.toString()), ace); |
| | | } |