Closed nuxlli closed 2 years ago
Adding try/catch clouse like a http://en.wikibooks.org/wiki/Clojure_Programming/Concepts#Exception_Handling
(fn exception () (try (do (throw (new Exception "Custom")) NULL) (catch Exception e (-> e (getMessage))))) (check (exception) "Custom")
class-extends
(class-extends OtherException Exception)
(class OtherException :extends Exception) (throw (new Exception "Custom"))
+1
try/catch
Adding try/catch clouse like a http://en.wikibooks.org/wiki/Clojure_Programming/Concepts#Exception_Handling
class
class-extends
clause.syntax suggestion