All pastes #26440 Raw Edit

Someone

public text v1 · immutable
#26440 ·published 2005-10-24 03:09 UTC
rendered paste body
// tolua++ exception handling
///////////////////////////////

// raise error on all exceptions
tolua_throws|tolua_any,error| void error_on_exception();

// return nil,(exception message) on "std::exception"
tolua_throws|std::exception| void nil_and_message();

// return just nil on "CEGUI::Exception"
tolua_throws|CEGUI::Exception,nil| void just_nil();


// return false on "std::exception" and raise error on everything else (...)
tolua_throws|std::exception,false|tolua_any,error| void multiple();