00001 // 00002 // File: TFactoryException.h 00003 // Created by: <Detro /> aka Ivan De Marino 00004 // <detro@mandolinux.org, demarino@studenti.unina.it, demarino@na.astro.it> 00005 // Created on: Sat Nov 20 12:35:23 2004 00006 // 00007 00008 #ifndef _TFACTORYEXCEPTION_H_ 00009 #define _TFACTORYEXCEPTION_H_ 00010 00011 #include <iostream> 00012 using namespace std; 00013 00014 /** 00015 * @Class TFactoryException TFactoryException.h 00016 * TFactoryException: Eccezione per TFactory. 00017 * Questa Classe e' utilizzata come "Eccezione" da 00018 * lanciare nel caso ci siano errori durante il caricamento di 00019 * una Class Plug-In. */ 00020 class TFactoryException { 00021 public: 00022 TFactoryException(string); 00023 virtual ~TFactoryException(void); 00024 string getExceptionMessage(void) const; 00025 private: 00026 string exceptionMessage; 00027 }; 00028 00029 #endif //_TFACTORYEXEPTION_H_