FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Memory::RangeException Class Reference

Memory range exception. More...

#include <memory_arbiter.hpp>

Inheritance diagram for FEAT::Memory::RangeException:
FEAT::Memory::MemoryException FEAT::Exception

Public Member Functions

 RangeException (const String &msg)
 
const String message () const
 returns error message More...
 
virtual const char * what () const noexcept override
 return descriptive exception name More...
 

Private Attributes

const String _message
 descriptive error message More...
 

Detailed Description

Memory range exception.

An exception of this class is thrown when an invalid memory range (offset and size) are specified.

Definition at line 199 of file memory_arbiter.hpp.

Constructor & Destructor Documentation

◆ RangeException()

FEAT::Memory::RangeException::RangeException ( const String &  msg)
inlineexplicit

Definition at line 203 of file memory_arbiter.hpp.

Member Function Documentation

◆ message()

const String FEAT::Exception::message ( ) const
inlineinherited

returns error message

Definition at line 73 of file exception.hpp.

References FEAT::Exception::_message.

◆ what()

virtual const char * FEAT::Exception::what ( ) const
inlineoverridevirtualnoexceptinherited

return descriptive exception name

Reimplemented in FEAT::Xml::Error.

Definition at line 79 of file exception.hpp.

References FEAT::Exception::_message.

Member Data Documentation

◆ _message

const String FEAT::Exception::_message
privateinherited

descriptive error message

Definition at line 30 of file exception.hpp.

Referenced by FEAT::Exception::message(), and FEAT::Exception::what().


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