Skip to content

Instantly share code, notes, and snippets.

@slemarchand
Created May 12, 2013 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slemarchand/5565253 to your computer and use it in GitHub Desktop.
Save slemarchand/5565253 to your computer and use it in GitHub Desktop.
try {
nullVar = null
out.println(nullVar.length())
} catch(e) {
out.println("""<div class="portlet-msg-error">${e}</div>""")
e.printStackTrace(out)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment