|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Embed E in JavaHi, I am new to E; Trying to embed E code inside a java program.
All I want todo I create the sample remote object programming example as documented
here http://www.erights.org/elang/concurrency/introducer.html
in Java If there is a documentation page somewhere on how todo this,
could someone please point me to this? The E-On-Java page is empty and the
mailing list does not have a search option. When I try to call the “Introducer.onTheAir()”
method it complains that I need to run this method inside a Runner. So I am
trying to create a Vat object using Vat.make(“headless”) and use
the invoke method on it. But it throws a nested exception at the “Vat.make”
method without providing any further information. Any help in pointing towards
a documentation page would be appreciated. Thanks -- _______________________________________________ e-lang mailing list e-lang@... http://www.eros-os.org/mailman/listinfo/e-lang |
|
|
Re: Embed E in JavaOn Oct 20, 2009, at 9:02, Ajay Chakravarthy wrote:
> If there is a documentation page somewhere on how todo this, could > someone please point me to this? None that I know of, sorry. One of my project ideas has been to turn E into a JSR 223 scripting engine, but I haven't reviewed what would be involved in doing so. > The E-On-Java page is empty and the mailing list does not have a > search option. Google "site:eros-os.org <your keywords>". > When I try to call the “Introducer.onTheAir()” method it complains > that I need to run this method inside a Runner. So I am trying to > create a Vat object using Vat.make(“headless”) and use the invoke > method on it. But it throws a nested exception at the “Vat.make” > method without providing any further information. Any help in > pointing towards a documentation page would be appreciated. Try org.erights.e.develop.exception.ThrowableSugar.leaf(theException) to see the original exception org.erights.e.develop.exception.ThrowableSugar.eStack(theException) to see the chain of nested exceptions. MarkM: Is there a non-historical reason NestedException/ NestedThrowable/etc exist instead of using the Java 1.4 Throwable.getCause() mechanism? -- Kevin Reid <http://switchb.org/kpreid/> _______________________________________________ e-lang mailing list e-lang@... http://www.eros-os.org/mailman/listinfo/e-lang |
|
|
Re: Embed E in JavaOn Tue, Oct 20, 2009 at 9:17 AM, Kevin Reid <kpreid@...> wrote:
> MarkM: Is there a non-historical reason NestedException/ > NestedThrowable/etc exist instead of using the Java 1.4 > Throwable.getCause() mechanism? Mostly history. The NestedException,.. mechanism predates Java 1.4. Since it worked, I have never examined the new getCause() API. I do not know whether or not it would be safe to use instead. -- Text by me above is hereby placed in the public domain Cheers, --MarkM _______________________________________________ e-lang mailing list e-lang@... http://www.eros-os.org/mailman/listinfo/e-lang |
| Free embeddable forum powered by Nabble | Forum Help |