Rename SWIFTABORT message into SWIFTERROR,

Add legend message.
This commit is contained in:
giberta1 2002-05-13 16:28:02 +00:00
parent a4bb9a9f1b
commit 49d568238e

View File

@ -1,7 +1,7 @@
// $RCSfile: MQSSave.java,v $
// $Revision: 1.5 $
// $Revision: 1.6 $
// $Name: $
// $Date: 2002/05/06 09:51:49 $
// $Date: 2002/05/13 16:28:02 $
// $Author: giberta1 $
/*
@ -457,7 +457,7 @@ public class MQSSave
String msg_type;
final String TYPE_SWIFTBEGIN = "SWIFTBEGIN";
final String TYPE_SWIFTEND = "SWIFTEND ";
final String TYPE_SWIFTABORT = "SWIFTABORT";
final String TYPE_SWIFTERROR = "SWIFTERROR";
final String TYPE_SWIFTOUT = "SWIFTOUT ";
boolean get_first = false;
boolean first_flush = true;
@ -525,7 +525,7 @@ public class MQSSave
first_flush = true;
}
}
else if( msg_type.equals( TYPE_SWIFTEND) || msg_type.equals( TYPE_SWIFTABORT))
else if( msg_type.equals( TYPE_SWIFTEND) || msg_type.equals( TYPE_SWIFTERROR))
{
// System.out.print( "FEA ");
Counter_Print( Total_Nb++, '#');
@ -588,7 +588,7 @@ public class MQSSave
get_first = true;
first_scan = true;
}
else if( msg_type.equals( TYPE_SWIFTABORT))
else if( msg_type.equals( TYPE_SWIFTERROR))
{
// System.out.print( "SA ");
@ -637,7 +637,7 @@ public class MQSSave
mode = MODE_SCAN;
get_first = true;
}
else if( msg_type.equals( TYPE_SWIFTABORT))
else if( msg_type.equals( TYPE_SWIFTERROR))
{
System.out.println( "Internal error: (" + msg_type + ") found during Move!");
throw new Exception();
@ -728,6 +728,7 @@ public class MQSSave
if( TI_Swift_Batch_Mode)
{
System.out.println( "Legend: .: Saved *: Flushed #: Skiped ~: Scaned");
Flush_File = new BufferedOutputStream( new FileOutputStream( Flush_File_Name));
}