Improve errorhandling in LotusScript with a Try..Catch..Finally block 
Use this IdeaSpace to post ideas about Domino Designer.

: 8
: 13
: 5
: Domino Designer
: lotussscript, errorhandling, error, try..catch..finally
: Kenneth Axi2537 04 Aug 2011
:
: / Email
I would like to see an improvement of LotusScript errorhandling and therefore introduce the Try..Catch..Finally block that You do in Java and other OOP languages.
 
That would give us the option to get rid of the hideous On Error Goto statements and have proper errorhandling as it should be.



1) Mark Demicoli10736 (05 Aug 2011)
In case you haven't noticed, LotusScript has been abandoned.
2) Kenneth Axi2537 (08 Aug 2011)
Yes Mark, I know - but one could still wish for improvements, can't You?
3) Dave Navarre402 (09 Aug 2011)
I've been learning Java and really don't like Try-Catch blocks. They honestly look ugly. Why should you have to add the extra lines to show where you're trying and catching instead of just using LotusScript's style where you can put in one On Error line?
4) Dave Navarre402 (11 Aug 2011)
So, can you explain why Try-Catch-Finally is better than the current system? If the reason is that you're used to TCF or that everyone else uses TCF, I don't know that it merits a change.

That said, you could always simply write all your LotusScript agents in Java. The "Java" in Notes is not really Java, but more like re-worded LotusScript and you get your TCF blocks.










:
:

Welcome to IdeaJam


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>







IdeaJam developed by

Elguji Software Logo