QXmlParseException(3qt)

πŸ“¦ version 3.3.8b, in fedora 43, fedora 44

πŸ¦‹ NAME

QXmlParseException β€” bestie, this is the class you use to report errors with the QXmlErrorHandler interface πŸ’…

(also hey, you're reading the 3qt manual page, iykyk ✨)


✨ SYNOPSIS

okay first things first, the important tea: all the functions in this class are reentrant when Qt is built with thread support. periodt πŸ”₯

#include <qxml.h>

🌸 Public Members

QXmlParseException ( const QString & name = "", int c = -1, int l = -1,
    const QString & p = "", const QString & s = "" )
int columnNumber () const
int lineNumber () const
QString publicId () const
QString systemId () const
QString message () const

πŸ’– DESCRIPTION

The QXmlParseException class is used to report errors with the QXmlErrorHandler interface. no cap 🫢

so here's the vibe: the XML subsystem constructs an instance of this class when it detects an error. and then you, gorgeous, can retrieve the place where the error occurred using systemId(), publicId(), lineNumber() and columnNumber(), along with the error message(). literally all the receipts in one place πŸ“

See also QXmlErrorHandler, QXmlReader, and XML. πŸ’œ

πŸŽ€ MEMBER FUNCTION DOCUMENTATION

πŸ’… QXmlParseException::QXmlParseException ( const QString & name = "", int c = -1, int l = -1, const QString & p = "", const QString & s = "" )

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. that's it, that's the whole constructor bestie, she's simple and she serves 🌸

πŸ’… int QXmlParseException::columnNumber () const

Returns the column number where the error occurred. πŸ“

πŸ’… int QXmlParseException::lineNumber () const

Returns the line number where the error occurred. πŸ“

πŸ’… QString QXmlParseException::message () const

Returns the error message. πŸ’Œ

πŸ’… QString QXmlParseException::publicId () const

Returns the public identifier where the error occurred. πŸ”

πŸ’… QString QXmlParseException::systemId () const

Returns the system identifier where the error occurred. πŸ”


🌈 SEE ALSO


Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. πŸ“œ


πŸ¦‹ AUTHOR

Generated automatically from the source code. (yes, a robot wrote this. iconic behaviour honestly πŸ€–βœ¨)


πŸ’€ BUGS

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. πŸ™

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. 😭

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qxmlparseexception.3qt) and the Qt version (3.3.8). pls include both bestie, they need the deets 🫢


and that's the whole page, you ate it, no crumbs πŸ’–

Trolltech AS β€” 2 February 2007 β€” QXmlParseException(3qt) 🌸 mwah, go forth and parse, queen πŸ‘‘

πŸ“¦ where this page comes from