}
@Override
public Object getValueAt(int rowIndex, int columnIndex) {
try {
DangerExamChunk chunk = jobLocal.dangerFactors().get(rowIndex);
if (columnIndex == CL_DANGER) {
try {
return chunk.getDanger();
} catch (ClipsException ex) {
return new ErrorValue(ex);
}
} else if (columnIndex == CL_LAST_EXAM) {
return chunk.getLastExam();
} else {
return null;
}
} catch (ClipsException ex) {
return new ErrorValue(ex);