There are 1 code examples for java.util.concurrent.Callable.

The API names are highlighted below. You can use suckoo button to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.

Project Name: eclemma-core Package: com.mountainminds.eclemma.internal.core

Source Code: SessionImporter.java (Click to view .java file)

Method Code:
vote
like

private IExecutionDataSource getSessionData() throws CoreException {
  try {
    final IExecutionDataSource source=dataSourceFactory.call();
    if (this.copy) {
      return this.executionDataFiles.newFile(source);
    }
 else {
      return source;
    }
  }
 catch (  CoreException e) {
    throw e;
  }
catch (  Exception e) {
    throw new CoreException(EclEmmaStatus.IMPORT_ERROR.getStatus(e));
  }
}