get2.addFamily(Bytes.toBytes("BOGUS")); // co BatchExample-6-AddBogus Add a Get instance that will fail.
batch.add(get2);
Object[] results = new Object[batch.size()]; // co BatchExample-7-CreateResult Create result array.
try {
table.batch(batch, results);
} catch (Exception e) {
System.err.println("Error: " + e); // co BatchExample-8-Print Print error that was caught.
}
for (int i = 0; i < results.length; i++) {