Re: Embed E in Java

Kevin Reid <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
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/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.