1 /*******************************************************************************
2 ********************************************************************************
4 Copyright (c) 2008 Ahmed S. Badran
6 Licensed under the FreeBSD License (see LICENSE)
8 Filename: generic_exception.h
9 Description: A generic exception class.
10 Created: 08/19/2008 11:43:10 PM PDT
11 Author: Ahmed S. Badran (Ahmed B.), ahmed.badran@gmail.com
13 ********************************************************************************
14 *******************************************************************************/
15 #ifndef GENERIC_EXCEPTION_INC
16 #define GENERIC_EXCEPTION_INC
19 class generic_exception
: public std::exception
22 generic_exception(const std::string
& m
) throw():
26 const char* what() const throw()
30 ~generic_exception() throw ()
36 #endif // ----- #ifndef GENERIC_EXCEPTION_INC -----