[e-lang] Embed E in Java

Kevin Reid kpreid at mac.com
Tue Oct 20 09:17:21 EDT 2009


On 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/>






More information about the e-lang mailing list