This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to 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