From 781932ee0cdee7f2fbbce1dbf44fd9c5954bd081 Mon Sep 17 00:00:00 2001 From: giberta1 Date: Mon, 6 May 2002 09:51:49 +0000 Subject: [PATCH] Add System.exit() handling. --- MQSSave.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/MQSSave.java b/MQSSave.java index a40726f..e229216 100644 --- a/MQSSave.java +++ b/MQSSave.java @@ -1,7 +1,7 @@ // $RCSfile: MQSSave.java,v $ -// $Revision: 1.4 $ +// $Revision: 1.5 $ // $Name: $ -// $Date: 2002/05/03 17:12:58 $ +// $Date: 2002/05/06 09:51:49 $ // $Author: giberta1 $ /* @@ -708,6 +708,8 @@ public class MQSSave { System.out.println( "Usage: MQSSave [-mb \"message_break\"] [-tisbm [-ffn ]] "); System.out.println( " Default: Message Break: (" + Str_UnFormat( Message_Break) + ") TI Swift Batch Mode: (" + TI_Swift_Batch_Mode + ") Flush File Name: (" + Flush_File_Name + ")"); + + System.exit( 1); } else { @@ -788,6 +790,8 @@ public class MQSSave MQSDeInit(); System.out.println( "MQS Save Completed !"); + + System.exit( 0); } } @@ -795,6 +799,8 @@ public class MQSSave { System.out.println("Exception: (" + Expt + ") !"); Expt.printStackTrace(); + + System.exit( 1); } }