Campbell Ritchie wrote:What sort of object is it that you would want to call dispose() on?
Hey Campbell! Thanks for the reply. I will read the article that you attached. No, I haven't written much Java at all. I've sort of been thrown into this task without much knowledge of it.
In the example code that I'm getting from SAP, it says "Commit and then dispose of the IObjectManager." Looking at the code in the TRY statement, it seems as though the dispose() method in the FINALLY statement should be disposing of the IExporter. That's my guess, anyway. However, there is no dispose() method for exporter. There is a dispose() method for pipe, but when I define it that way, I get an error on the line above, "pipe.getResult().get();", that says "Unhandled exception type ExecutionException".