Skip to content

Instantly share code, notes, and snippets.

@mmcgrana
Created October 30, 2010 21:59
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 mmcgrana/655786 to your computer and use it in GitHub Desktop.
Save mmcgrana/655786 to your computer and use it in GitHub Desktop.
Clojure 1.3.0-alpha2
user=> (try (throw (Throwable. "fail")) (catch Exception e (println "error:" e)))
Throwable fail user/eval1 (NO_SOURCE_FILE:1)
user=> (try (throw (Exception. "fail")) (catch Exception e (println "error:" e)))
error: #<Exception java.lang.Exception: fail>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment