|
trikRuntime
|
Exception that is thrown when XML file is corrupt and "setContent" method of QDomDocument has failed. More...
#include <failedToParseXmlException.h>


Public Member Functions | |
| FailedToParseXmlException (const QFile &file, const QString &errorMessage, int errorLine, int errorColumn) | |
| Constructor. More... | |
| const QFile & | file () const |
| Returns XML file that is failed to parse. More... | |
| QString | errorMessage () const |
| Returns error message. More... | |
| int | errorLine () const |
| Returns line in XML document where error occured. More... | |
| int | errorColumn () const |
| Returns column in XML document where error occured. More... | |
Public Member Functions inherited from trikKernel::TrikRuntimeException | |
| TrikRuntimeException ()=default | |
| ~TrikRuntimeException ()=default | |
| TrikRuntimeException (TrikRuntimeException &&e)=default | |
| Default. More... | |
| TrikRuntimeException (const TrikRuntimeException &e)=delete | |
| Deleted. More... | |
Exception that is thrown when XML file is corrupt and "setContent" method of QDomDocument has failed.
|
inline |
Constructor.
| file | - XML file that is failed to parse. |
| errorMessage | - error message from QDomDocument::setContent. |
| errorLine | - line in XML document where error occured. |
| errorColumn | - column in XML document where error occured. |
|
inline |
Returns column in XML document where error occured.
|
inline |
Returns line in XML document where error occured.
|
inline |
Returns error message.
|
inline |
Returns XML file that is failed to parse.