.. _program_listing_file_include_parpecommon_parpeException.h: Program Listing for File parpeException.h ========================================= |exhale_lsh| :ref:`Return to documentation for file ` (``include/parpecommon/parpeException.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef PARPEEXCEPTION_H #define PARPEEXCEPTION_H #include #include namespace parpe { class ParPEException : public std::exception { public: explicit ParPEException(const char *message); explicit ParPEException(std::string message); ~ParPEException() throw() override = default; const char *what() const noexcept override; private: std::string message; }; } // namespace parpe #endif // PARPEEXCEPTION_H