LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
cluster::CRUException Class Reference

#include "CRUException.h"

Inheritance diagram for cluster::CRUException:

Public Member Functions

 CRUException (std::string msg="")
 
const char * what () const noexcept override
 

Private Attributes

std::string _msg
 

Detailed Description

Generic (base) exception class

Definition at line 25 of file CRUException.h.

Constructor & Destructor Documentation

cluster::CRUException::CRUException ( std::string  msg = "")
inline

Definition at line 28 of file CRUException.h.

28 : _msg(msg) {}

Member Function Documentation

const char* cluster::CRUException::what ( ) const
inlineoverridenoexcept

Definition at line 30 of file CRUException.h.

References _msg.

30 { return _msg.c_str(); }

Member Data Documentation

std::string cluster::CRUException::_msg
private

Definition at line 33 of file CRUException.h.

Referenced by what().


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