Hi,
On Jan 25, 12:41 pm, Manish wrote:
> I am new to clojure. I want to use try-catch block to the (.getPage
> *wc* ~url) statement of code. But I am getting this error:
> java.lang.Exception: Can't bind qualified name:nlplabs.webfetch.agent/
> exception
>
> Would u pls help me to sort out this
Hi
On Mon, Jan 25, 2010 at 12:41 PM, Manish wrote:
> Hi,
> I am new to clojure. I want to use try-catch block to the (.getPage
> *wc* ~url) statement of code. But I am getting this error:
> java.lang.Exception: Can't bind qualified name:nlplabs.webfetch.agent/
> exception
>
> Would u pls help me
I think you'll have to use "exception#" instead of "exception", in order to
generate a local symbol. Otherwise, the quoting will try to resolve "exception"
in the current namespace.
Also, don't expand "~url" more than once -- what if the expression passed for
"url" has side effects? It would ge
Thanx for ur quick response,
And its not making difference by changing "exception" to "e".
I am still getting this error:
java.lang.Exception: Can't bind qualified name:nlplabs.webfetch.agent/
e
Thanx
Regards
Manish Zedwal
On Jan 25, 5:03 pm, Michael Wood wrote:
> 2010/1/25 Manish :
>
>
>
> > Hi
Nothing is declared in this namespace as "exception"
On Jan 25, 5:03 pm, Michael Wood wrote:
> 2010/1/25 Manish :
>
>
>
> > Hi,
> > I am new to clojure. I want to use try-catch block to the (.getPage
> > *wc* ~url) statement of code. But I am getting this error:
> > java.lang.Exception: Can't bi
2010/1/25 Manish :
> Hi,
> I am new to clojure. I want to use try-catch block to the (.getPage
> *wc* ~url) statement of code. But I am getting this error:
> java.lang.Exception: Can't bind qualified name:nlplabs.webfetch.agent/
> exception
>
> Would u pls help me to sort out this problem?
>
> Tha
Hi,
I am new to clojure. I want to use try-catch block to the (.getPage
*wc* ~url) statement of code. But I am getting this error:
java.lang.Exception: Can't bind qualified name:nlplabs.webfetch.agent/
exception
Would u pls help me to sort out this problem?
Thanx in advance
Code snippet:
(ns nl