Actually I had a java object corresponding to each JS object.
for example: X500Name java object and corresponding JS x500Name object.
So I need the coressponding java object corresponding to JS e Object in
following js script.
try{
alert(); // one argument is required for alert
}catch(e){
console.println( "e = " + e)
console.println( "e.name = " + e.name)
}
Hope you got answer of your question.
Please provide more detailed answer.
Thanks
Rajat
________________________________
From: Daryl Stultz <[email protected]>
To: Rhino JS User List <[email protected]>
Sent: Wed, December 16, 2009 6:42:32 PM
Subject: Re: Fw: Error handling - Help required !!
On Wed, Dec 16, 2009 at 1:09 AM, Rajat Gupta <[email protected]>wrote:
> Hi friends !
>
> This is a gentle remainder.
> I am still waiting for solving this please send me how should i proceed
> regarding this issue.
>
> Rajat, what is it you want to do that you haven't done already?
can we get the e object ?
>
What does that mean? You printed the e object, didn't you?
> what is the type of e object ?
>
>
JS objects don't really have a type in the was Java objects do. Again, what
is your goal?
--
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino