LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
util::flags::errors::Exception Struct Reference

Base class for exceptions thrown by flag-related utilities. More...

#include "BitMask.h"

Inheritance diagram for util::flags::errors::Exception:
util::flags::errors::FlagNotDefined util::flags::errors::OutOfRange

Public Member Functions

 Exception (std::string msg="Flag error")
 
virtual const char * what () const noexcept override
 

Public Attributes

std::string message
 

Detailed Description

Base class for exceptions thrown by flag-related utilities.

Definition at line 375 of file BitMask.h.

Constructor & Destructor Documentation

util::flags::errors::Exception::Exception ( std::string  msg = "Flag error")
inlineexplicit

Definition at line 376 of file BitMask.h.

376 : message(msg) {}

Member Function Documentation

virtual const char* util::flags::errors::Exception::what ( ) const
inlineoverridevirtualnoexcept

Definition at line 377 of file BitMask.h.

378  { return message.c_str(); }

Member Data Documentation

std::string util::flags::errors::Exception::message

Definition at line 379 of file BitMask.h.


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