;; *** before: ***
(try
(/ 1 0)
(catch Exception e
[(.getMessage e) (.getCause e)]))
;=> ["Divide by zero" nil]
;; *** in version 1.10: ***
;; same result, but written the same way it would be in
;; ClojureScript, without touching the Java exception directly
(try
(/ 1 0)
(catch Exception e
[(ex-message e) (ex-cause e)]))
;=> ["Divide by zero" nil]