Spinning Topp Logo BlackTopp Studios
inc
Public Types | List of all members
Mezzanine::ExceptionFactory< ScriptLuaYieldException::ExceptionCode > Struct Template Reference

Template class that serves as the base for exception factories. More...

#include <exception.h>

Public Types

typedef ScriptLuaYieldException Type
 This allows parameterized uses of this type when, so exception can be throw without directly using the type system. More...
 

Detailed Description

template<>
struct Mezzanine::ExceptionFactory< ScriptLuaYieldException::ExceptionCode >

Template class that serves as the base for exception factories.

Additional exceptions and their factories have to specialize from this template changing the type value to the new exception type.This allows our exception macro to find the appropriate factory at compile when template are being resolved. So this system can be extended with additional exceptions wherever desired. Attempting to create an unknown exception simply won't compile because the base exception class being abstract.

Definition at line 2224 of file exception.h.

Member Typedef Documentation

This allows parameterized uses of this type when, so exception can be throw without directly using the type system.

Definition at line 2228 of file exception.h.


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