#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Error handling: try.. catch java-style error handling in Lotusscript

Even javascript has this!

java/javascript is like this:

try {

   some lines of code...

   some code that erros

} catch(error) {

   deal with error

}

 

With new Try Catch End Try block, Lotusscript could be ..

Try

   Do this

   Do that

   Do another

Catch <errornumber optional>

   Do something with Error$, Erl etc

End Try

 

- can be nested

- no resume required

- easier to write code which looks after itself

 

 

I would celebrate with an ice cream.

  • Guest
  • Jul 19 2018
  • Needs review
  • Attach files
  • Guest commented
    4 Apr, 2019 12:14pm

    Also needed "finally" keyword

  • Guest commented
    24 Jul, 2018 06:40am

    If I am given 1 dollar every time that I need this functionality, I would be rich by now :D