exceptionDescription = new String("OLE Automation Error HResult : "+hResult);
exceptionDescription = "OLE Automation Error HResult : " + hResult;
private void manageExcepinfo(int hResult, EXCEPINFO excepInfo) {	if (hResult == COM.S_OK){		exceptionDescription = new String("No Error"); //$NON-NLS-1$		return;	}	// extract exception info	if (hResult == COM.DISP_E_EXCEPTION) {		if (excepInfo.bstrDescription != 0){			int size = COM.SysStringByteLen(excepInfo.bstrDescription);			char[] buffer = new char[(size + 1) /2];			COM.MoveMemory(buffer, excepInfo.bstrDescription, size);			exceptionDescription = new String(buffer);		} else {			exceptionDescription = new String("OLE Automation Error Exception "); //$NON-NLS-1$			if (excepInfo.wCode != 0){				exceptionDescription += "code = "+excepInfo.wCode; //$NON-NLS-1$			} else if (excepInfo.scode != 0){				exceptionDescription += "code = "+excepInfo.scode; //$NON-NLS-1$			}		}	} else {		exceptionDescription = new String("OLE Automation Error HResult : "+hResult); //$NON-NLS-1$	}	// cleanup EXCEPINFO struct	if (excepInfo.bstrDescription != 0)		COM.SysFreeString(excepInfo.bstrDescription);	if (excepInfo.bstrHelpFile != 0)		COM.SysFreeString(excepInfo.bstrHelpFile);	if (excepInfo.bstrSource != 0)		COM.SysFreeString(excepInfo.bstrSource);}