The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.XMLThe XML subsystem constructs an instance of this class when it detects an error. You can retrieve the place where the error occurred using systemId(), publicId(), lineNumber() and columnNumber(), along with the error message().
Más...
#include <qxml.h>
Lista de todos los miembros.
Descripción detallada
The QXmlParseException class is used to report errors with the QXmlErrorHandler interface.
XML
The XML subsystem constructs an instance of this class when it detects an error. You can retrieve the place where the error occurred using systemId(), publicId(), lineNumber() and columnNumber(), along with the error message().
- Ver también:
- QXmlErrorHandler QXmlReader
Documentación del constructor y destructor
QXmlParseException::QXmlParseException |
( |
const QString & |
name = "" , |
|
|
int |
c = -1 , |
|
|
int |
l = -1 , |
|
|
const QString & |
p = "" , |
|
|
const QString & |
s = "" |
|
) |
| [inline] |
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s.
QXmlParseException::QXmlParseException |
( |
const QString & |
name = "" , |
|
|
int |
c = -1 , |
|
|
int |
l = -1 , |
|
|
const QString & |
p = "" , |
|
|
const QString & |
s = "" |
|
) |
| [inline] |
Documentación de las funciones miembro
int QXmlParseException::columnNumber |
( |
| ) |
const |
Returns the column number where the error occurred.
int QXmlParseException::columnNumber |
( |
| ) |
const |
int QXmlParseException::lineNumber |
( |
| ) |
const |
Returns the line number where the error occurred.
int QXmlParseException::lineNumber |
( |
| ) |
const |
QString QXmlParseException::message |
( |
| ) |
const |
Returns the error message.
QString QXmlParseException::message |
( |
| ) |
const |
QString QXmlParseException::publicId |
( |
| ) |
const |
QString QXmlParseException::publicId |
( |
| ) |
const |
Returns the public identifier where the error occurred.
QString QXmlParseException::systemId |
( |
| ) |
const |
Returns the system identifier where the error occurred.
QString QXmlParseException::systemId |
( |
| ) |
const |
La documentación para esta clase fue generada a partir de los siguientes ficheros: