From e09ec34fbdcb2bd2c7dbaf0bb0e98bc5a5ed9269 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Wed, 12 Mar 2008 17:15:41 +0000 Subject: Improve exception handling. Handle static method return types. (bzr r5066) --- src/bind/javabind.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/bind/javabind.h') diff --git a/src/bind/javabind.h b/src/bind/javabind.h index b20132d03..cd622960b 100644 --- a/src/bind/javabind.h +++ b/src/bind/javabind.h @@ -262,6 +262,14 @@ public: return false; } + /** + * + */ + virtual String getException() + { + return ""; + } + virtual String stdOutGet() { return stdOutBuf; @@ -307,7 +315,7 @@ public: logBuf.push_back((char)ch); if (ch == '\n' || ch == '\r') { - g_message(logBuf.c_str()); + g_message("%s", logBuf.c_str()); logBuf.clear(); } } -- cgit v1.2.3