comparison core/src/luan/impl/SetTableEntry.java @ 578:60c549d43988

remove LuanState.exception()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 14 Jul 2015 17:40:48 -0600
parents 4723d22062ce
children 859c0dedc8b6
comparison
equal deleted inserted replaced
577:d7a85fbe15f1 578:60c549d43988
32 return; 32 return;
33 } 33 }
34 if( t != null && luan.hasJava() ) 34 if( t != null && luan.hasJava() )
35 JavaLuan.__new_index(luan,t,key,value); 35 JavaLuan.__new_index(luan,t,key,value);
36 else 36 else
37 throw luan.exception( "attempt to index a " + Luan.type(t) + " value in '"+el.text()+"'" ); 37 throw new LuanException(luan, "attempt to index a " + Luan.type(t) + " value in '"+el.text()+"'" );
38 } finally { 38 } finally {
39 luan.pop(); 39 luan.pop();
40 } 40 }
41 } 41 }
42 42