Groovy web console

subscribe to the feed Subscribe
to this
site
JAM Talk groovy console (via #groovywebconsole)
tweet this snippet Tweet
this
script

JAM Talk groovy console

Published 7 months ago by Adam P
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
echo "demo using an online groovy console" 

try {
    x = 1 / 0
}
catch(err) {
    status_msg = "ignoring error ${err.toString()}"
}
finally {
    println(status_msg ?: "hello world!")
}