Skip to Content.
Sympa Menu

grouper-users - [grouper-users] GrouperShell and exception handling

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] GrouperShell and exception handling


Chronological Thread 
  • From: Scott Koranda <>
  • To: grouper-users <>
  • Subject: [grouper-users] GrouperShell and exception handling
  • Date: Mon, 21 Nov 2011 20:43:16 -0600

Hi,

I was looking at the BeanShell documentation at

http://www.beanshell.org/manual/syntax.html#Exception_Handling

and hoping to be able to use try/catch blocks in GrouperShell
(gsh), but it seems I cannot catch any exceptions.

For example if I try to add a group that already exists I
would like to catch the throwable and take a different
action.

Is that possible in GrouperShell?

Thanks,

Scott



Archive powered by MHonArc 2.6.16.

Top of Page