This commit is contained in:
Juergen E. Fischer 2012-02-04 10:11:06 +01:00
parent 0ce442d511
commit a406a88381

View File

@ -1,5 +1,8 @@
%Exception QgsCsException(SIP_Exception) /PyName=QgsCsException/
{
%TypeHeaderCode
#include <qgscsexception.h>
%End
%RaiseCode
SIP_BLOCK_THREADS
PyErr_SetString(sipException_QgsCsException, sipExceptionRef.what().toUtf8().constData() );
@ -9,6 +12,9 @@
%Exception QgsException(SIP_Exception) /PyName=QgsException/
{
%TypeHeaderCode
#include <qgsexception.h>
%End
%RaiseCode
SIP_BLOCK_THREADS
PyErr_SetString(sipException_QgsException, sipExceptionRef.what().toUtf8().constData() );