This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
Errorhandling in Java is quite different from errorhandling in LotusScript
By the code provided it looks to me that You are trying to implement a LotusScript type of Java coding style, and that is not the correct way to go.
In Java You must CATCH errors that are thrown, and You should never have to check for null objects.
Database db = null;
try {
db = s.getDatabse(server,path);
} catch(NotesException e) {
//Error - could not get database...
// You should break out of the function and not continue with Your code...!
}
hth
Feedback response number WEBB8U9FCM created by ~Vanessa Preponelyynds on 05/13/2012