… | |
… | |
123 | #endif |
123 | #endif |
124 | |
124 | |
125 | /****************************************************************************/ |
125 | /****************************************************************************/ |
126 | |
126 | |
127 | // exception thrown on fatal (per-instance) errors |
127 | // exception thrown on fatal (per-instance) errors |
128 | class rxvt_failure_exception { }; |
128 | class rxvt_failure_exception : public std::exception |
|
|
129 | { |
|
|
130 | public: |
|
|
131 | const char * |
|
|
132 | what () const noexcept override |
|
|
133 | { |
|
|
134 | return ""; |
|
|
135 | } |
|
|
136 | }; |
129 | |
137 | |
130 | // exception thrown when the command parser runs out of input data |
138 | // exception thrown when the command parser runs out of input data |
131 | class out_of_input { }; |
139 | class out_of_input { }; |
132 | |
140 | |
133 | /* |
141 | /* |