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

Exception thrown to convey that an invalid flag index was used. More...

#include "BitMask.h"

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

Public Member Functions

 OutOfRange (std::string msg="Flag out-of-range error")
 
virtual const char * what () const noexcept override
 

Public Attributes

std::string message
 

Detailed Description

Exception thrown to convey that an invalid flag index was used.

Definition at line 390 of file BitMask.h.

Constructor & Destructor Documentation

util::flags::errors::OutOfRange::OutOfRange ( std::string  msg = "Flag out-of-range error")
inlineexplicit

Definition at line 391 of file BitMask.h.

392  : Exception(msg)
393  {}
Exception(std::string msg="Flag error")
Definition: BitMask.h:376

Member Function Documentation

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

Definition at line 377 of file BitMask.h.

378  { return message.c_str(); }

Member Data Documentation

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

Definition at line 379 of file BitMask.h.


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