ta.log(id_processor, id_task,
"The task was completed with " + st.name() + " status");
ta.setTaskError(id_task, ex);
} catch (SysException ex1) {
try {
ta.log(id_processor, id_task, ex1.toString());
} catch (SysException ex3) {
System.out.println(ex1);
}
try {
ta.setTaskError(id_task, ex1);