From 5db076672ccb31c708b2194f6eb1a7e85c4c7bd6 Mon Sep 17 00:00:00 2001 From: Keith Armstrong Date: Tue, 31 Dec 2024 16:16:46 -0500 Subject: [PATCH] Make sure file not found errors are output to the screen --- src/com/belkast/soap/webService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/belkast/soap/webService.java b/src/com/belkast/soap/webService.java index c4d97c1..59e95fc 100644 --- a/src/com/belkast/soap/webService.java +++ b/src/com/belkast/soap/webService.java @@ -85,7 +85,7 @@ public class webService { debugProcessor.writer(true, "============ START ============"); debugProcessor.writer(true, "Start Time: " + varFormat.format(dateStart)); - debugProcessor.writer(varDebug, "Debug is set to : " + varDebug); + debugProcessor.writer(false, "Debug is set to : " + varDebug); System.out.println(); String varURL = propertyProcessor.getProperty(thisProps, "SHIM_URL"); @@ -110,14 +110,14 @@ public class webService { File checkInput = new File (varInputFile); if (!checkInput.exists()) { - debugProcessor.writer(varDebug, "The XML_FILE file specified in " + thisProps + " does not exist!"); + debugProcessor.writer(true, thisProps + " => The file specified in XML_FILE does not exist [ " + varInputFile + " ]"); System.exit(0); } File checkRole = new File (varRoleFile); if (!checkRole.exists()) { - debugProcessor.writer(varDebug, "The INPUT_FILE specified in " + thisProps + " does not exist!"); + debugProcessor.writer(true, thisProps + " => The file specified in INPUT_FILE does not exist [ " + varRoleFile + " ]"); System.exit(0); } @@ -137,7 +137,7 @@ public class webService { if (!validfile) { - debugProcessor.writer(true, varRoleFile + " : verify the file with com.belkast.soap.userVerify"); + debugProcessor.writer(true, varRoleFile + " : please verify the file with com.belkast.soap.userVerify"); } int varCount = 0; Iterator mapper1 = thisCSV.iterator();