mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			61 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
%Exception QgsCsException(SIP_Exception) /PyName=QgsCsException/
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsexception.h>
 | 
						|
%End
 | 
						|
%RaiseCode
 | 
						|
  SIP_BLOCK_THREADS
 | 
						|
  PyErr_SetString(sipException_QgsCsException, sipExceptionRef.what().toUtf8().constData() );
 | 
						|
  SIP_UNBLOCK_THREADS
 | 
						|
%End
 | 
						|
};
 | 
						|
 | 
						|
%Exception QgsProcessingException(SIP_Exception) /PyName=QgsProcessingException/
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsexception.h>
 | 
						|
%End
 | 
						|
%RaiseCode
 | 
						|
  SIP_BLOCK_THREADS
 | 
						|
  PyErr_SetString(sipException_QgsProcessingException, sipExceptionRef.what().toUtf8().constData() );
 | 
						|
  SIP_UNBLOCK_THREADS
 | 
						|
%End
 | 
						|
};
 | 
						|
 | 
						|
%Exception QgsException(SIP_Exception) /PyName=QgsException/
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsexception.h>
 | 
						|
%End
 | 
						|
%RaiseCode
 | 
						|
  SIP_BLOCK_THREADS
 | 
						|
  PyErr_SetString(sipException_QgsException, sipExceptionRef.what().toUtf8().constData() );
 | 
						|
  SIP_UNBLOCK_THREADS
 | 
						|
%End
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
%Exception QgsProviderConnectionException(SIP_Exception) /PyName=QgsProviderConnectionException/
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsexception.h>
 | 
						|
%End
 | 
						|
%RaiseCode
 | 
						|
  SIP_BLOCK_THREADS
 | 
						|
  PyErr_SetString(sipException_QgsProviderConnectionException, sipExceptionRef.what().toUtf8().constData() );
 | 
						|
  SIP_UNBLOCK_THREADS
 | 
						|
%End
 | 
						|
};
 | 
						|
 | 
						|
%Exception QgsNotSupportedException(SIP_Exception) /PyName=QgsNotSupportedException/
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
#include <qgsexception.h>
 | 
						|
%End
 | 
						|
%RaiseCode
 | 
						|
  SIP_BLOCK_THREADS
 | 
						|
  PyErr_SetString(sipException_QgsNotSupportedException, sipExceptionRef.what().toUtf8().constData() );
 | 
						|
  SIP_UNBLOCK_THREADS
 | 
						|
%End
 | 
						|
};
 |