ponder 3.2
C++ reflection library
ponder::EnumValueNotFound Class Reference

Error thrown when a value in a metaenum couldn't be found. More...

#include <errors.hpp>

+ Inheritance diagram for ponder::EnumValueNotFound:

Public Member Functions

 EnumValueNotFound (long value, IdRef enumName)
 Constructor. More...
 
- Public Member Functions inherited from ponder::Error
virtual ~Error () throw ()
 Destructor.
 
virtual const char * what () const throw ()
 Return a description of the error. More...
 
virtual const char * where () const throw ()
 Return the error location (file + line + function) More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ponder::Error
template<typename T >
static T prepare (T error, const String &file, int line, const String &function)
 Prepare an error to be thrown. More...
 

Detailed Description

Error thrown when a value in a metaenum couldn't be found.

Constructor & Destructor Documentation

◆ EnumValueNotFound()

ponder::EnumValueNotFound::EnumValueNotFound ( long  value,
IdRef  enumName 
)

Constructor.

Parameters
valueValue of the requested metaenum member
enumNameName of the owner metaenum

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