interator type for stored exceptions
container type used to store exceptions
size type of stored exceptions
rili::ComplexException::ComplexException |
( |
const std::string & |
place, |
|
|
std::string const & |
msg |
|
) |
| |
|
noexcept |
initialize exception using place of occurence and human readable reason message
- Parameters
-
place | used to indicate exact place in code where exception was created |
msg | used to indicate reason of exception |
void rili::ComplexException::addException |
( |
std::exception_ptr const & |
| ) |
|
|
noexcept |
addException add exception at end of exceptions trace storage.
begin can be used to get iterator for first stored exception.
- Returns
- Returns an iterator to the first stored exception. If the container is empty, the returned iterator will be equal to end().
bool rili::ComplexException::empty |
( |
| ) |
const |
|
noexcept |
empty checks there are no stored excaptions, i.e. whether begin() == end().
- Returns
- true if the there are no stored exceptions, false otherwise
end can be used to detect end of stored exceptions collection
- Returns
- an iterator to the element following the last element of the exceptions collection.
size_type rili::ComplexException::size |
( |
| ) |
const |
|
noexcept |
size returns the number of stored exceptions, i.e. std::distance(begin(), end())
- Returns
- number of stored exceptions
The documentation for this class was generated from the following file: