Line | |
---|
1 | #ifndef PUBLICEXCEPTIONS_H
|
---|
2 | #define PUBLICEXCEPTIONS_H
|
---|
3 |
|
---|
4 | #include <stdexcept>
|
---|
5 |
|
---|
6 | namespace ariba {
|
---|
7 | namespace overlay {
|
---|
8 |
|
---|
9 | class message_not_sent: public std::runtime_error
|
---|
10 | {
|
---|
11 | public:
|
---|
12 | /** Takes a character string describing the error. */
|
---|
13 | explicit message_not_sent(const string& __arg) :
|
---|
14 | std::runtime_error(__arg)
|
---|
15 | {
|
---|
16 | }
|
---|
17 |
|
---|
18 | virtual ~message_not_sent() throw() {}
|
---|
19 | };
|
---|
20 |
|
---|
21 | }} // namespace ariba::overlay
|
---|
22 |
|
---|
23 | #endif // PUBLICEXCEPTIONS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.