Groovy web console

subscribe to the feed Subscribe
to this
site

Example throwing an IllegalArgumentException

Published 1 month ago by glaforge with tags exception
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def x = -1
throw new IllegalArgumentException("Invalid value for x: $x")