/usr/include/segmentparseexpectedexception.h is in libdewalls-dev 1.0.0+ds1-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef DEWALLS_SEGMENTPARSEEXPECTEDEXCEPTION_H
#define DEWALLS_SEGMENTPARSEEXPECTEDEXCEPTION_H
#include <QSet>
#include <QList>
#include "segmentparseexception.h"
#include <initializer_list>
#include "dewallsexport.h"
namespace dewalls {
class DEWALLS_LIB_EXPORT SegmentParseExpectedException : public SegmentParseException
{
public:
SegmentParseExpectedException(Segment segment, QString expectedItem);
SegmentParseExpectedException(Segment segment, QList<QString> expectedItems);
SegmentParseExpectedException(Segment segment, std::initializer_list<QString> expectedItems);
QList<QString> expectedItems() const;
virtual QString detailMessage() const;
virtual void raise() const { throw *this; }
virtual SegmentParseException *clone() const { return new SegmentParseExpectedException(*this); }
private:
QList<QString> _expectedItems;
};
inline QList<QString> SegmentParseExpectedException::expectedItems() const
{
return _expectedItems;
}
} // namespace dewalls
#endif // DEWALLS_SEGMENTPARSEEXPECTEDEXCEPTION_H
|