Speclib  0.1.2
The library for writing better CUDA libraries
sp::EnumValueOutOfRange Class Referencefinal

Thrown by validateEnumValue() when the runtime value provided is not valid for the target enum type. More...

#include <SpecLibExceptions.hpp>

Inheritance diagram for sp::EnumValueOutOfRange:
[legend]

Public Member Functions

 EnumValueOutOfRange (const EnumValueOutOfRange &)
 
 EnumValueOutOfRange (const std::string &enumName, int value)
 
- Public Member Functions inherited from sp::SpecLibException
 SpecLibException (const SpecLibException &)
 
 SpecLibException (const std::string &what)
 
- Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
 
what (T... args)
 
- Public Member Functions inherited from std::exception
exception (T... args)
 
operator= (T... args)
 
what (T... args)
 
~exception (T... args)
 

Detailed Description

Thrown by validateEnumValue() when the runtime value provided is not valid for the target enum type.

See also
sp::validateEnumValue()