class UploaderApp extends DataBridgeApp {

    @Override
    protected ReturnValue parseCommandLineArguments(String[] args, ApplicationContext applicationContext)
    {
        ReturnValue returnValue = super.parseCommandLineArguments(args, applicationContext);

        // Stop the processing if return value is not null.
        if (returnValue != null)
        {
            return returnValue;
        }

        try
        {
            // Extract uploader specific Integer option values here to catch any NumberFormatException exceptions.
            maxRetryAttempts = argParser.getIntegerValue(maxRetryAttemptsOpt, MAX_RETRY_ATTEMPTS_DEFAULT, MAX_RETRY_ATTEMPTS_MIN, MAX_RETRY_ATTEMPTS_MAX);
            retryDelaySecs = argParser.getIntegerValue(retryDelaySecsOpt, RETRY_DELAY_SECS_DEFAULT, RETRY_DELAY_SECS_MIN, RETRY_DELAY_SECS_MAX);
        }
        catch (Exception ex)
        {
            // Log a friendly error and return a failure which will cause the application to exit.
            LOGGER.error("Error parsing command line arguments: " + ex.getMessage() + "\n" + argParser.getUsageInformation());
            return ReturnValue.FAILURE;
        }

        // The command line arguments were all parsed successfully so return null to continue processing.
        return null;
    }

    public  UploaderApp();

}