Guest User

Untitled

a guest
May 27th, 2011
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (let [m (.getMethod Long "parseLong" (into-array Class [String Integer/TYPE]))]
  2.   (.invoke m Long (into-array Object ["111" 2])))
  3.  
  4. argument type mismatch
  5.   [Thrown class java.lang.IllegalArgumentException]
  6.  
  7. Restarts:
  8.  0: [QUIT] Quit to the SLIME top level
  9.  
  10. Backtrace:
  11.   0: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  12.   1: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  13.   2: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  14.   3: java.lang.reflect.Method.invoke(Method.java:597)
  15.   4: user$eval19679.invoke(NO_SOURCE_FILE:1)
  16.   5: clojure.lang.Compiler.eval(Compiler.java:6378)
  17.   6: clojure.lang.Compiler.eval(Compiler.java:6345)
  18.   7: clojure.core$eval.invoke(core.clj:2745)
  19.  --more--
Advertisement
Add Comment
Please, Sign In to add comment