enterProcess();
try {
// Make sure that the AnalysisComponent has a next CAS to return
boolean analysisComponentHasNext = mMyAnalysisComponent.hasNext();
if (!analysisComponentHasNext) {
throw new UIMA_IllegalStateException(UIMA_IllegalStateException.NO_NEXT_CAS,
new Object[0]);
}
// call AnalysisComponent.next method to populate CAS
try {
CAS cas = callAnalysisComponentNext();