LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::detail::collected_exception Class Reference

#include "ExceptionCollector.h"

Inheritance diagram for art::detail::collected_exception:

Public Member Functions

 collected_exception (std::string msg)
 
char const * what () const noexcept override
 

Private Attributes

std::string const msg_
 

Detailed Description

Definition at line 45 of file ExceptionCollector.h.

Constructor & Destructor Documentation

art::detail::collected_exception::collected_exception ( std::string  msg)
inlineexplicit

Definition at line 47 of file ExceptionCollector.h.

47 : msg_(std::move(msg)) {}

Member Function Documentation

char const* art::detail::collected_exception::what ( ) const
inlineoverridenoexcept

Definition at line 49 of file ExceptionCollector.h.

Referenced by art::run_art().

50  {
51  return msg_.c_str();
52  }

Member Data Documentation

std::string const art::detail::collected_exception::msg_
private

Definition at line 55 of file ExceptionCollector.h.


The documentation for this class was generated from the following file: