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

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

#include <exception.h>

Public Types

typedef NetworkNotFoundException 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< NetworkNotFoundException::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 1126 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 1130 of file exception.h.


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