Package org.keplerproject.luajava

Examples of org.keplerproject.luajava.LuaException


    {
      return new LuaNode(fileName);
    }
    catch (ClassNotFoundException e)
    {
      throw new LuaException(e);
    }
  }
View Full Code Here


      if (err != 0)
      {
        switch (err)
        {
          case 1 :
            throw new LuaException("Runtime error. " + L.toString(-1));
          case 2 :
            throw new LuaException("File not found. " + L.toString(-1));
          case 3 :
            throw new LuaException("Syntax error. " + L.toString(-1));
          case 4 :
            throw new LuaException("Memory error. " + L.toString(-1));
          default :
            throw new LuaException("Error. " + L.toString(-1));
        }
      }
      configLib = (IConfig) L.getLuaObject("configLib").createProxy("test.node.IConfig");
    }
   
View Full Code Here

TOP

Related Classes of org.keplerproject.luajava.LuaException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.