/* -*- Mode: C++; tab-width: 8; c-basic-offset: 8 -*-
 *
 */

#ifndef __Exception_h__
#define __Exception_h__

/* ------------------------------------------------------------------------
 * A general exception
 */

class CException {
public:
        CException(char* fmt, ...);
        virtual ~CException();

        virtual const char*
        GetMessage() {
                return m_message;
        };

protected:
        char* m_message;

	// A null initializer for subclasses
	CException() : m_message(0) {};
};


#endif __Exception_h__

