Clojure doesn't have checked exceptions, but it uses a java compiler trick
called sneaky-throws to rethrow and catch them, so versions past 1.3 don't
wrap them in RuntimeExceptions.
Generally, clojure won't go out of its way to protect you from exceptions
or catch them for you, but it's idiomatic
Hello,
as a Java developer I'm a bit confused about the lack of exceptions.
A minimal example:
(spit "filename" "a String" :encoding "UTF-8")
the corresponding Java code has got 4 possible exceptions:
UnsupportedEncodingException
FileNotFoundException
2 x IOException (on .write and on .close)