What do I have to do to make my program catch the exception thrown by the C++ function the Lua script calls? Thanks.
If you have built Lua as C (which is typical) rather than C++, exceptions can't be thrown "through" stack frames with Lua calls - it wouldn't work. So, Luabind catches all exceptions from C++ code called by Lua code, then propogates them as Lua errors (which is what you're seeing - message on top of the stack, etc). See http://www.rasterbar.com/products/luabind/docs.html#exceptions
-- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University