Permalink
Browse files

and .toString, bump version

  • Loading branch information...
1 parent 8a659b8 commit 0ad4ca18669870763df9616589cc2fd4a7ef08cb @hiredman hiredman committed May 12, 2011
Showing with 4 additions and 1 deletion.
  1. +1 −1 project.clj
  2. +3 −0 src/dce/Exception.clj
View
@@ -1,4 +1,4 @@
-(defproject dataconveyingexception "0.0.1"
+(defproject dataconveyingexception "0.0.2"
:description "a DCE"
:dependencies [[org.clojure/clojure "1.2.1"]]
:aot [dce.Exception])
@@ -17,3 +17,6 @@
[[message] (vary-meta data assoc :type type)])
([type data]
[[] (vary-meta data assoc :type type)]))
+
+(defn -toString [e]
+ (print-str (.getMessage e) (.payload e)))

0 comments on commit 0ad4ca1

Please sign in to comment.