Celeritas  0.5.0-56+6b053cd
Classes | Functions
MultiExceptionHandler.hh File Reference
#include <exception>
#include <utility>
#include <vector>
#include "corecel/Macros.hh"
This graph shows which files directly or indirectly include this file:

Classes

class  celeritas::MultiExceptionHandler
 Temporarily store exception pointers. More...
 

Functions

void celeritas::detail::log_and_rethrow_impl (MultiExceptionHandler &&exceptions)
 Throw the first exception and log all the rest.
 
void celeritas::log_and_rethrow (MultiExceptionHandler &&exceptions)
 Throw the first exception and log all the rest. More...
 

Function Documentation

◆ log_and_rethrow()

void celeritas::log_and_rethrow ( MultiExceptionHandler &&  exceptions)
inline

Throw the first exception and log all the rest.

All logged exceptions will be thrown using CELER_LOG_LOCAL(critical) .