CppCMS

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

cppcms_error.h
1 //
3 // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
4 //
5 // See accompanying file COPYING.TXT file for licensing details.
6 //
8 #ifndef CPPCMS_ERROR_H
9 #define CPPCMS_ERROR_H
10
11 #include <cppcms/defs.h>
12 #include <string>
13 #include <booster/backtrace.h>
14 namespace cppcms {
15
21
22 class CPPCMS_API cppcms_error : public booster::runtime_error {
23 std::string strerror(int err);
24 public:
28 cppcms_error(int err,std::string const &error);
32 cppcms_error(std::string const &error) : booster::runtime_error(error) {};
33 };
34
35 }
36 #endif
cppcms::cppcms_error::cppcms_error
cppcms_error(std::string const &error)
Definition: cppcms_error.h:32
booster::runtime_error
Same as std::runtime_error but records stack trace.
Definition: backtrace.h:158
cppcms::cppcms_error
Exception thrown by CppCMS framework.
Definition: cppcms_error.h:22
cppcms
This is the namespace where all CppCMS functionality is placed.
Definition: application.h:19
booster
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23