SILVERCODERS DocToText  4.0.1512
Converts DOC, XLS, XLSB, PPT, RTF, ODF (ODT, ODS, ODP), OOXML (DOCX, XLSX, PPTX), iWork (PAGES, NUMBERS, KEYNOTE), ODFXML (FODP, FODS, FODT), PDF, EML and HTML documents to plain text. Extracts metadata and annotations.
 All Classes Functions Enumerations Pages
exception.h
1 #ifndef DOCTOTEXT_EXCEPTION_H
2 #define DOCTOTEXT_EXCEPTION_H
3 
4 #include <exception>
5 #include <list>
6 #include <string>
7 
8 namespace doctotext
9 {
36  class Exception : public std::exception
37  {
38  private:
39  struct Implementation;
40  Implementation* impl;
41 
42  public:
43 
44  Exception() throw();
45 
50  Exception(const std::string& first_error_message) throw();
51 
52  Exception(const Exception& ex) throw();
53 
54  ~Exception() throw();
55 
56  Exception& operator = (const Exception& ex) throw();
57 
58  const char* what(){ return "doctotext_exception"; }
59 
72  std::string getBacktrace();
73 
77  void appendError(const std::string& error_message);
78 
82  std::list<std::string>::iterator getErrorIterator() const;
83 
87  size_t getErrorCount() const;
88  };
89 }
90 
91 #endif
std::list< std::string >::iterator getErrorIterator() const
void appendError(const std::string &error_message)
std::string getBacktrace()
Definition: exception.h:36
size_t getErrorCount() const