diff core/src/luan/LuanException.java @ 517:8dcf9e12446b

add Luan.on_luan_close()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 27 May 2015 01:20:49 -0600
parents 2e17b54e69d9
children f99c79b0b426
line wrap: on
line diff
--- a/core/src/luan/LuanException.java	Tue May 26 20:59:05 2015 -0600
+++ b/core/src/luan/LuanException.java	Wed May 27 01:20:49 2015 -0600
@@ -13,6 +13,7 @@
 
 	LuanException(LuanBit bit,Object msg) throws LuanException {
 		this( bit.luan.toString(msg), msg instanceof Throwable ? (Throwable)msg : null );
+		table.rawPut("java",this);
 		table.rawPut("message",msg);
 		for( StackTraceElement ste : bit.stackTrace() ) {
 			LuanTable tbl = new LuanTable();