Public Member Functions | Private Attributes | List of all members
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 44 of file ExceptionCollector.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file ExceptionCollector.h.

46 : msg_(move(msg)) {}
void msg(const char *fmt,...)
Definition: message.cpp:107
def move(depos, offset)
Definition: depos.py:107

Member Function Documentation

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

Definition at line 48 of file ExceptionCollector.h.

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

Member Data Documentation

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

Definition at line 54 of file ExceptionCollector.h.


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