Commit 3b270625 authored by ahoms's avatar ahoms
Browse files

* using new Exception /Default/ annotation; corrected Exception class name


git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@169 45c4679d-1946-429d-baad-37912b19538b
parent ed226b06
......@@ -7,8 +7,7 @@ enum ErrorType {
InvalidValue, NotSupported, Error,
};
%Exception Exception(SIP_Exception)
%Exception Exception(SIP_Exception) /Default/
{
%TypeHeaderCode
#include <Exceptions.h>
......@@ -18,7 +17,7 @@ using namespace lima;
const char *detail = sipExceptionRef.getErrMsg().c_str();
SIP_BLOCK_THREADS
PyErr_SetString(sipException_std_exception, detail);
PyErr_SetString(sipException_Exception, detail);
SIP_UNBLOCK_THREADS
%End
};
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment