diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-03-12 17:15:41 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-03-12 17:15:41 +0000 |
| commit | e09ec34fbdcb2bd2c7dbaf0bb0e98bc5a5ed9269 (patch) | |
| tree | 4dce659f1947cb1968c9bf5c00c3b724181653d6 /src/bind/javabind.h | |
| parent | * macosx/Resources/bin/inkscape, macosx/Resources/etc/fonts/fonts.conf: (diff) | |
| download | inkscape-e09ec34fbdcb2bd2c7dbaf0bb0e98bc5a5ed9269.tar.gz inkscape-e09ec34fbdcb2bd2c7dbaf0bb0e98bc5a5ed9269.zip | |
Improve exception handling. Handle static method return types.
(bzr r5066)
Diffstat (limited to 'src/bind/javabind.h')
| -rw-r--r-- | src/bind/javabind.h | 10 |
1 files changed, 9 insertions, 1 deletions
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(); } } |
