class StartTimeoutParameterConverter extends IntegerParameterConverter {

    @Override
    public Integer convert(Object value) {
        int startTimeout = super.convert(value);
        if (startTimeout < 0) {
            throw new SLException(Messages.ERROR_PARAMETER_1_MUST_NOT_BE_NEGATIVE, startTimeout, Variables.START_TIMEOUT.getName());
        }
        return startTimeout;
    }

}