558559560561562563564565566567568
throw exception; } break; case SCAN_2D: try { scanResult = new ScanConnectorToolRead2D(scanServerName, scanServerManager) .readScanResult(); } catch (SalsaDeviceException exception) { scanServerManager.invalidateScanServerProxy(scanServerName); throw exception;
519520521522523524525526527528529
case SCAN_1D: scanResult = new ScanConnectorToolRead1D(scanServerName, scanServerManager) .readScanResult(); break; case SCAN_2D: scanResult = new ScanConnectorToolRead2D(scanServerName, scanServerManager) .readScanResult(); break; default: scanResult = null; break;