90919293949596
} // TODO: How do we determine if the process is in an "ERROR" state. // The above should have been exhaustive. throw new ProcessingException("Encountered unexpected instance state: " + instancestate); }
313314315316317318319320321322
} catch (InstanceNotFoundException infe) { throw infe; } catch (Exception ex) { __log.error("ProcessingEx", ex); throw new ProcessingException(ex.getMessage(),ex); } return doit; }
198199200201202203204205206
return null; } }); } catch (Exception e) { __log.error("Exception while listing processes", e); throw new ProcessingException("Exception while listing processes: " + e.toString()); } return ret; }
294295296297298299300301302
}); } catch (ManagementException me) { throw me; } catch (Exception e) { __log.error("Exception while setting process property", e); throw new ProcessingException("Exception while setting process property: " + e.toString()); } return ret; }
330331332333334335336337338
}); } catch (ManagementException me) { throw me; } catch (Exception e) { __log.error("Exception while setting process property", e); throw new ProcessingException("Exception while setting process property" + e.toString()); } return ret; }
351352353354355356357358359
return null; } }); } catch (Exception e) { __log.error("Exception while listing instances", e); throw new ProcessingException("Exception while listing instances: " + e.toString()); } return ret; }
381382383384385386387388389
403404405406407408409410
return genInstanceInfoDocument(conn, iid); } }); } catch (Exception e) { __log.error("Exception while retrieving instance info", e); throw new ProcessingException("Exception while retrieving instance info: " + e.toString()); } }
420421422423424425426427
return genScopeInfoDocument(conn, siid, includeActivityInfo); } }); } catch (Exception e) { __log.error("Exception while retrieving scope info", e); throw new ProcessingException("Exception while retrieving scope info: " + e.toString()); } }
509510511512513514515516517
return instance.getProcess().getProcessId(); } }); } catch (Exception e) { __log.error("Exception during activity recovery", e); throw new ProcessingException("Exception during activity recovery" + e.toString()); } return getInstanceInfo(iid); }