QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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.
QString message () const
QString tag () const
QString file () const
QString function () const
int line () const

Detailed Description

QgsErrorMessage represents single error message.

Member Enumeration Documentation

Format.

Enumerator:
Text 
Html 

Constructor & Destructor Documentation

QgsErrorMessage::QgsErrorMessage ( )
inline
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

Member Function Documentation

QString QgsErrorMessage::file ( ) const
inline
QString QgsErrorMessage::function ( ) const
inline
int QgsErrorMessage::line ( ) const
inline
QString QgsErrorMessage::message ( ) const
inline
QString QgsErrorMessage::tag ( ) const
inline

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