Mercurial Hosting > luan
comparison core/src/luan/modules/PickleClient.java @ 578:60c549d43988
remove LuanState.exception()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 14 Jul 2015 17:40:48 -0600 |
parents | dae264ad6a7b |
children |
comparison
equal
deleted
inserted
replaced
577:d7a85fbe15f1 | 578:60c549d43988 |
---|---|
51 System.arraycopy(result,1,rtn,0,rtn.length); | 51 System.arraycopy(result,1,rtn,0,rtn.length); |
52 return rtn; | 52 return rtn; |
53 } else { | 53 } else { |
54 String msg = (String)result[1]; | 54 String msg = (String)result[1]; |
55 String src = (String)result[2]; | 55 String src = (String)result[2]; |
56 throw con.luan.exception( | 56 throw new LuanException(con.luan, |
57 msg + "\n" | 57 msg + "\n" |
58 + "in:\n" | 58 + "in:\n" |
59 + "------------------\n" | 59 + "------------------\n" |
60 + formatCode(src) + "\n" | 60 + formatCode(src) + "\n" |
61 + "------------------\n" | 61 + "------------------\n" |