• (throw-rollback e)
Sets rollback and throws a wrapped exception

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/sql/internal.clj:138 top

(defn throw-rollback
  "Sets rollback and throws a wrapped exception"
  [e]
  (rollback true)
  (throwf e "transaction rolled back: %s" (.getMessage e)))
Vars in clojure.contrib.sql.internal/throw-rollback: defn
Used in 0 other vars

Comments top

No comments for throw-rollback. Log in to add a comment.