// Type
IConfig.ScanType scanType = getScanType(scanServerName);
switch (scanType) {
case SCAN_1D:
try {
scanResult = new ScanConnectorToolRead1D(scanServerName, scanServerManager)
.readScanResult();
}
catch (SalsaDeviceException exception) {
scanServerManager.invalidateScanServerProxy(scanServerName);
throw exception;