Mercurial Hosting > luan
diff src/luan/lib/Utils.java @ 130:0594c132888b
cleanup
git-svn-id: https://luan-java.googlecode.com/svn/trunk@131 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Tue, 10 Jun 2014 02:43:40 +0000 |
parents | 0cd559a16758 |
children | fcb81fa2df0d |
line wrap: on
line diff
--- a/src/luan/lib/Utils.java Mon Jun 09 09:16:16 2014 +0000 +++ b/src/luan/lib/Utils.java Tue Jun 10 02:43:40 2014 +0000 @@ -16,7 +16,7 @@ public static void checkNotNull(LuanState luan,Object v,String expected) throws LuanException { if( v == null ) - throw luan.JAVA.exception("bad argument #1 ("+expected+" expected, got nil)"); + throw luan.exception("bad argument #1 ("+expected+" expected, got nil)"); } public static String readAll(Reader in)