throw new RSException( 0, e );
}
final Store rs = index.getRecordStore();
out.writeInt( index.getOrder() );
out.writeByte( (byte) index.getType() );
out.writeBoolean( index.isCaseSensitive() );
numRecords = rs.getNumRecords();
System.out.println( "Writing " + numRecords + " records" );
out.writeInt( numRecords );
for( int i = 1; i <= numRecords; i++ )
{