Skip to content

Instantly share code, notes, and snippets.

@mmcgrana mmcgrana/error.clj

Created Oct 30, 2010
What would you like to do?
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
You can’t perform that action at this time.