mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Exception refactoring
This commit is contained in:
@ -76,22 +76,6 @@ constexpr const char* PDF_REFERENCE_COMMAND = "R";
|
||||
constexpr const char* PDF_STREAM_START_COMMAND = "stream";
|
||||
constexpr const char* PDF_STREAM_END_COMMAND = "endstream";
|
||||
|
||||
class PDFParserException : public std::exception
|
||||
{
|
||||
public:
|
||||
PDFParserException(const QString& message) :
|
||||
m_message(message)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// Returns error message
|
||||
const QString& getMessage() const { return m_message; }
|
||||
|
||||
private:
|
||||
QString m_message;
|
||||
};
|
||||
|
||||
class PDFFORQTLIBSHARED_EXPORT PDFLexicalAnalyzer
|
||||
{
|
||||
Q_GADGET
|
||||
|
Reference in New Issue
Block a user