LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar::memory_error Class Reference

Exception thrown when BulkAllocator-specific allocation errors happen. More...

#include "BulkAllocator.h"

Inheritance diagram for lar::memory_error:

Public Member Functions

 memory_error ()
 
 memory_error (const char *message)
 
virtual const char * what () const override throw ()
 

Private Attributes

const char * msg = nullptr
 

Detailed Description

Exception thrown when BulkAllocator-specific allocation errors happen.

Definition at line 34 of file BulkAllocator.h.

Constructor & Destructor Documentation

lar::memory_error::memory_error ( )
inline

Definition at line 36 of file BulkAllocator.h.

36 : std::bad_alloc() {}
lar::memory_error::memory_error ( const char *  message)
inline

Definition at line 37 of file BulkAllocator.h.

37 : std::bad_alloc(), msg(message) {}
void message(RunManager *runmanager)
Definition: ts_scorers.cc:74
const char * msg
Definition: BulkAllocator.h:42

Member Function Documentation

virtual const char* lar::memory_error::what ( ) const
throw (
)
inlineoverridevirtual

Definition at line 39 of file BulkAllocator.h.

39 { return msg; }
const char * msg
Definition: BulkAllocator.h:42

Member Data Documentation

const char* lar::memory_error::msg = nullptr
private

Definition at line 42 of file BulkAllocator.h.


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