Skip to content

Instantly share code, notes, and snippets.

@wilkes
Created January 21, 2009 20:46
Show Gist options
  • Save wilkes/50175 to your computer and use it in GitHub Desktop.
Save wilkes/50175 to your computer and use it in GitHub Desktop.
(try
(.createNewFile file)
(catch IOException e
(throw (Exception. (str "Failed to create " file) e))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment