catch ( QString e )
catch ( QString& e )
static PyObject* wpQuery( PyObject* /*self*/, PyObject* args ){	char* query;	if ( !PyArg_ParseTuple( args, "es:wolfpack.database.query(query)", "utf-8", &query ) )	{		return 0;	}	cDBResult result;	try	{		result = PersistentBroker::instance()->query( query );	}	catch ( QString e )	{		PyMem_Free( query );		PyErr_SetString( PyExc_RuntimeError, e.latin1() );		return 0;	}	catch ( ... )	{		PyMem_Free( query );		PyErr_SetString( PyExc_RuntimeError, "An error occured while querying the database." );		return 0;	}	PyMem_Free( query );	return ( new cDBResult( result ) )->getPyObject();}