QScxmlError Class

The QScxmlError class describes the errors returned by the Qt SCXML state machine when parsing an SCXML file. More...

Header: #include <QScxmlError>
qmake: QT += scxml
Since: Qt 5.7

This class was introduced in Qt 5.7.

Properties

Public Functions

int column() const
QString description() const
QString fileName() const
bool isValid() const
int line() const

Detailed Description

See also QScxmlStateMachine and QScxmlCompiler.

Property Documentation

column : const int

This property holds the column number in which the SCXML error occurred.

Access functions:

int column() const

description : const QString

This property holds a description of the SCXML error.

Access functions:

QString description() const

fileName : const QString

This property holds the name of the file in which the SCXML error occurred.

Access functions:

QString fileName() const

line : const int

This property holds the line number on which the SCXML error occurred.

Access functions:

int line() const

valid : const bool

This property holds whether the SCXML error is valid.

Access functions:

bool isValid() const