Template class that serves as the base for exception factories. More...
#include <exception.h>
Public Types | |
typedef DirectoryException | Type |
This allows parameterized uses of this type when, so exception can be throw without directly using the type system. More... | |
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 638 of file exception.h.
This allows parameterized uses of this type when, so exception can be throw without directly using the type system.
Definition at line 642 of file exception.h.