Go to the documentation of this file.
22 #ifndef _SOPRANO_ERROR_H_
23 #define _SOPRANO_ERROR_H_
27 #include <QtCore/QString>
28 #include <QtCore/QSharedDataPointer>
virtual Error lastError() const
Error(const QString &message, int code=ErrorUnknown)
Error & operator=(const Error &)
ParserError(const Error &)
void setError(const Error &) const
Core class of Soprano's exception system.
SOPRANO_EXPORT QDebug operator<<(QDebug s, const Soprano::Node &)
ParserError toParserError() const
Represents an error in Soprano.
ParserError & operator=(const Error &)
Represents a parser error in Soprano.
Details of a parser Error.
bool isParserError() const
SOPRANO_EXPORT ErrorCode convertErrorCode(int code)
ParserError(const Locator &, const QString &message=QString(), int code=ErrorParsingFailed)
void setError(const QString &errorMessage, int code=ErrorUnknown) const
SOPRANO_EXPORT QString errorMessage(ErrorCode)