Examples of SalsaScanConfigurationException


Examples of fr.soleil.salsa.exception.SalsaScanConfigurationException

                } else if (config instanceof IConfigEnergy) {
                    startScan((IConfigEnergy) config, context);
                } else {
                    String errorMessage = "Cannot start scan because Scan type not supported.";
                    LOGGER.error(errorMessage);
                    throw new SalsaScanConfigurationException(errorMessage);
                }
            } else {
                String errorMessage = "Cannot start scan because scanServerName in context is not defined";
                LOGGER.error(errorMessage);
                throw new SalsaDeviceException(errorMessage);
            }
        } else {
            String errorMessage = "Cannot start scan because context is not defined.";
            LOGGER.error(errorMessage);
            throw new SalsaScanConfigurationException(errorMessage);
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.exception.SalsaScanConfigurationException

                break;
            case 2:
                type = IConfig.ScanType.SCAN_2D;
                break;
            default:
                throw new SalsaScanConfigurationException("Scan type not implemented yet");
        }

        return type;

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.