comparison web/src/luan/modules/web/HttpLuan.java @ 249:9737ebb9aaa0

handle LuanExitException git-svn-id: https://luan-java.googlecode.com/svn/trunk@250 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 17 Oct 2014 00:55:15 +0000
parents c0f87c1ba99f
children
comparison
equal deleted inserted replaced
248:10cc873babee 249:9737ebb9aaa0
99 */ 99 */
100 } catch(NoSuchMethodException e) { 100 } catch(NoSuchMethodException e) {
101 throw new RuntimeException(e); 101 throw new RuntimeException(e);
102 } 102 }
103 103
104 luan.call(fn,"<http>"); 104 try {
105 luan.call(fn,"<http>");
106 } catch(LuanExitException e) {
107 // System.out.println("caught LuanExitException");
108 }
105 return true; 109 return true;
106 } 110 }
107 111
108 112
109 113