Kexi API Documentation (2.0 alpha)

KexiDB::ParserError Class Reference

#include <parser.h>

List of all members.


Detailed Description

Provides detailed i18n'ed error description about the Parser .

Definition at line 42 of file parser.h.

Public Member Functions

 ParserError ()
 Empty constructor.
 ParserError (const QString &type, const QString &error, const QString &hint, int at)
 Constructor.
 ~ParserError ()
 Destructor.
QString type ()
QString error ()
int at ()


Constructor & Destructor Documentation

ParserError::ParserError  ) 
 

Empty constructor.

Definition at line 132 of file parser.cpp.

ParserError::ParserError const QString type,
const QString error,
const QString hint,
int  at
 

Constructor.

Parameters:
type The errortype.
error A description of the error.
hint Token where the error happend.
at The position where the error happend.

Definition at line 138 of file parser.cpp.

ParserError::~ParserError  ) 
 

Destructor.

Definition at line 146 of file parser.cpp.


Member Function Documentation

int KexiDB::ParserError::at  )  [inline]
 

Returns:
position where the error happend.

Definition at line 79 of file parser.h.

Referenced by KexiQueryDesignerSQLView::slotCheckQuery().

QString KexiDB::ParserError::error  )  [inline]
 

Returns:
a descriping error message.

Definition at line 74 of file parser.h.

Referenced by KexiQueryDesignerSQLView::slotCheckQuery().

QString KexiDB::ParserError::type  )  [inline]
 

Returns:
the errortype.

Definition at line 69 of file parser.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:46 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003