Package fr.soleil.salsa.exception

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


                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

Related Classes of fr.soleil.salsa.exception.SalsaScanConfigurationException

Copyright © 2018 www.massapicom. 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.