Add System.exit() handling.

This commit is contained in:
giberta1 2002-05-06 09:52:24 +00:00
parent 7187b8e088
commit 0ffc88e129

View File

@ -1,7 +1,7 @@
// $RCSfile: MQSLoad.java,v $
// $Revision: 1.5 $
// $Revision: 1.6 $
// $Name: $
// $Date: 2002/05/02 17:09:35 $
// $Date: 2002/05/06 09:52:24 $
// $Author: giberta1 $
/*
@ -510,6 +510,8 @@ public class MQSLoad
{
System.out.println( "Usage: MQSLoad [-fb \"field_break\"] [-mb \"message_break\"] [-kmb] <Output_MsgQueue_Name> <Input_File_Name>");
System.out.println( " Default: Field Break: (" + Str_UnFormat( Field_Break) + ") Message Break: (" + Str_UnFormat( Message_Break) + ") Keep Message Break: (" + Keep_Message_Break + ")");
System.exit( 1);
}
else
{
@ -563,6 +565,8 @@ public class MQSLoad
MQSDeInit();
System.out.println( "MQS Load Completed !");
System.exit( 0);
}
}
@ -570,6 +574,8 @@ public class MQSLoad
{
System.out.println("Exception: (" + Expt + ") !");
Expt.printStackTrace();
System.exit( 1);
}
}
}