3 * \file ExceptionMessage.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Abdelrazak Younes
9 * Full author contact details are available in file CREDITS.
11 * A store of the paths to the various different directoies used
12 * by LyX. These paths differ markedly from one OS to another,
13 * following the local Windows, MacOS X or Posix conventions.
18 #include "support/docstring.h"
32 class ExceptionMessage: public std::exception {
34 ExceptionMessage(ExceptionType type, docstring const & title,
35 docstring const & details)
36 : exception((to_utf8(title) + "\n" + to_utf8(details)).c_str()),
37 type_(type), title_(title), details_(details) {}
39 virtual ~ExceptionMessage() {}
46 } // namespace support
49 #endif // LYX_MESSAGE_H