Skip to Main Content
HCL Domino 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

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Jul 19, 2018

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.

  • Attach files
  • Guest
    Reply
    |
    Apr 4, 2019

    Also needed "finally" keyword

  • Guest
    Reply
    |
    Jul 24, 2018

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