Make sure file not found errors are output to the screen
This commit is contained in:
parent
757387b46c
commit
5db076672c
@ -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<Map> mapper1 = thisCSV.iterator();
|
||||
|
Loading…
x
Reference in New Issue
Block a user