diff http/src/luan/modules/http/HttpServicer.java @ 578:60c549d43988

remove LuanState.exception()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 14 Jul 2015 17:40:48 -0600
parents 6cc2f047019b
children 53a50c70c5e2
line wrap: on
line diff
--- a/http/src/luan/modules/http/HttpServicer.java	Mon Jul 13 20:53:02 2015 -0600
+++ b/http/src/luan/modules/http/HttpServicer.java	Tue Jul 14 17:40:48 2015 -0600
@@ -51,7 +51,7 @@
 			if( mod==null )
 				return false;
 			if( !(mod instanceof LuanFunction) )
-				throw luan.exception( "module '"+modName+"' must return a function" );
+				throw new LuanException(luan, "module '"+modName+"' must return a function" );
 			if( Boolean.TRUE.equals(per_session_pages.rawGet(mod)) ) {
 				HttpSession session = request.getSession();
 				LuanState sessionLuan  = (LuanState)session.getValue("luan");