QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | List of all members
QgsErrorMessage Class Reference

QgsErrorMessage represents single error message. More...

#include <qgserror.h>

Public Types

enum  Format { Text, Html }
 Format. More...
 

Public Member Functions

 QgsErrorMessage ()
 
 QgsErrorMessage (const QString &theMessage, const QString &theTag=QString::null, const QString &theFile=QString::null, const QString &theFunction=QString::null, int theLine=0)
 Constructor. More...
 
QString file () const
 
QString function () const
 
int line () const
 
QString message () const
 
QString tag () const
 

Detailed Description

QgsErrorMessage represents single error message.

Definition at line 29 of file qgserror.h.

Constructor & Destructor Documentation

QgsErrorMessage::QgsErrorMessage ( )
inline

Definition at line 39 of file qgserror.h.

QgsErrorMessage::QgsErrorMessage ( const QString &  theMessage,
const QString &  theTag = QString::null,
const QString &  theFile = QString::null,
const QString &  theFunction = QString::null,
int  theLine = 0 
)

Constructor.

Parameters
theMessageerror message string
theTagerror label, for example GDAL, GDAL Provider, Raster layer
theFilethe file where error was created
theFunctionthe function where error was created
theLinethe line where error was created

Definition at line 25 of file qgserror.cpp.

Member Function Documentation

QString QgsErrorMessage::file ( ) const
inline

Definition at line 52 of file qgserror.h.

QString QgsErrorMessage::function ( ) const
inline

Definition at line 53 of file qgserror.h.

int QgsErrorMessage::line ( ) const
inline

Definition at line 54 of file qgserror.h.

QString QgsErrorMessage::message ( ) const
inline

Definition at line 50 of file qgserror.h.

QString QgsErrorMessage::tag ( ) const
inline

Definition at line 51 of file qgserror.h.


The documentation for this class was generated from the following files: