comparison core/src/luan/LuanState.java @ 481:5d4a78c93383

luan errors are now tables
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 11 May 2015 20:26:36 -0600
parents b48cfa14ba60
children d3183a330ff5
comparison
equal deleted inserted replaced
480:44caaa6a3d92 481:5d4a78c93383
50 50
51 // convenience methods 51 // convenience methods
52 52
53 private final LuanBit JAVA = bit(null); 53 private final LuanBit JAVA = bit(null);
54 54
55 public LuanException exception(Object msg) { 55 public LuanException exception(Object msg) throws LuanException {
56 return JAVA.exception(msg); 56 return JAVA.exception(msg);
57 } 57 }
58 58
59 public Object call(LuanFunction fn) throws LuanException { 59 public Object call(LuanFunction fn) throws LuanException {
60 return call(fn,null,LuanFunction.NOTHING); 60 return call(fn,null,LuanFunction.NOTHING);