Hi,

I tried the following code, which is a valid loop, IMHO, since it
doesn't leave the catch clause.

(try
  :xxx
  (catch Exception e
    (loop [x e]
      (if (nil? (.getCause x))
        x
        (recur (.getCause x))))))

However I get:

java.lang.UnsupportedOperationException: Cannot recur from catch/ finally (NO_SOURCE_FILE:1)

Is this intended?

Sincerely
Meikel


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to