2012-01-28 22:33:14 +01:00
|
|
|
%Exception QgsCsException(SIP_Exception) /PyName=QgsCsException/
|
|
|
|
{
|
2012-02-04 10:11:06 +01:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgscsexception.h>
|
|
|
|
%End
|
2012-01-28 22:33:14 +01:00
|
|
|
%RaiseCode
|
|
|
|
SIP_BLOCK_THREADS
|
|
|
|
PyErr_SetString(sipException_QgsCsException, sipExceptionRef.what().toUtf8().constData() );
|
|
|
|
SIP_UNBLOCK_THREADS
|
|
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
|
|
%Exception QgsException(SIP_Exception) /PyName=QgsException/
|
|
|
|
{
|
2012-02-04 10:11:06 +01:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsexception.h>
|
|
|
|
%End
|
2012-01-28 22:33:14 +01:00
|
|
|
%RaiseCode
|
|
|
|
SIP_BLOCK_THREADS
|
|
|
|
PyErr_SetString(sipException_QgsException, sipExceptionRef.what().toUtf8().constData() );
|
|
|
|
SIP_UNBLOCK_THREADS
|
|
|
|
%End
|
|
|
|
};
|