LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
cluster::CRUException Class Reference

#include "CRUException.h"

Inheritance diagram for cluster::CRUException:

Public Member Functions

 CRUException (std::string msg="")
 
virtual ~CRUException () throw ()
 
virtual const char * what () const throw ()
 

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 29 of file CRUException.h.

29  : std::exception(), _msg(msg)
30  {}
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33
virtual cluster::CRUException::~CRUException ( )
throw (
)
inlinevirtual

Definition at line 32 of file CRUException.h.

32 {};

Member Function Documentation

virtual const char* cluster::CRUException::what ( ) const
throw (
)
inlinevirtual

Definition at line 33 of file CRUException.h.

References _msg.

34  {return _msg.c_str(); }

Member Data Documentation

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

Definition at line 38 of file CRUException.h.

Referenced by what().


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