throw-arg(clojure.contrib.except)

Throws an IllegalArgumentException. All arguments are optional:

cause? format? format-args*

- cause defaults to nil, if present it must be a Throwable - format is a format string for clojure.core/format - format-args are objects that correspond to format specifiers in format.

; clojure/contrib/except.clj:57
(defn throw-arg
  [& args]
  (throw (throwable (cons IllegalArgumentException args))))

Copyright (c) Rich Hickey. All rights reserved.

The use and distribution terms for this software are covered by the Eclipse Public License 1.0, which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.