diff core/src/luan/impl/SetTableEntry.java @ 646:cdc70de628b5

simplify LuanException
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 29 Mar 2016 19:58:39 -0600
parents 859c0dedc8b6
children
line wrap: on
line diff
--- a/core/src/luan/impl/SetTableEntry.java	Tue Mar 29 18:09:51 2016 -0600
+++ b/core/src/luan/impl/SetTableEntry.java	Tue Mar 29 19:58:39 2016 -0600
@@ -30,7 +30,7 @@
 		if( t != null && luan.hasJava() )
 			JavaLuan.__new_index(luan,t,key,value);
 		else
-			throw new LuanException(luan, "attempt to index a " + Luan.type(t) + " value" );
+			throw new LuanException( "attempt to index a " + Luan.type(t) + " value" );
 	}
 
 }