fail("Task returned CHECK CONDITION but did not return autosense data");
try
{
SenseDataFactory fact = new SenseDataFactory();
SenseData sense = fact.decode(exception.getSenseData());
if (sense.getKCQ() != KCQ.INVALID_FIELD_IN_CDB)
fail("Expected KCQ INVALID FIELD IN CDB; got " + sense.getKCQ().name());
}
catch (IOException e)
{