|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Exception constructor with formatted message. More...
#include <ah-errors.H>
Public Member Functions | |
| int | operator, (const std::ostream &s) |
| Comma operator that throws the exception with the constructed message. | |
Exception constructor with formatted message.
This helper class allows building exceptions with formatted messages using the stream insertion operator (<<). Used internally by the error handling macros.
| E | Exception type to throw (must derive from std::exception) * |
Definition at line 106 of file ah-errors.H.
|
inline |
Comma operator that throws the exception with the constructed message.
| s | Stream with the formatted error message |
| E | Exception of the specified type with the constructed message * |
Definition at line 116 of file ah-errors.H.