00001 /*************************************************************************** 00002 xmlwritingexception.h - description 00003 ------------------- 00004 begin : mar avr 11 2006 00005 copyright : (C) 2006 by 00006 - Sylvain Archenault <sylvain.archenault@laposte.net> 00007 - Yves Houpert <yves.houpert@insa-rouen.fr> 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 #ifndef XMLWRITINGEXCEPTION_H 00020 #define XMLWRITINGEXCEPTION_H 00021 00022 #include <string> 00023 using namespace std; 00029 class XMLWritingException 00030 { 00031 public: //public methods. 00034 XMLWritingException(const string& sMessage); 00035 00037 ~XMLWritingException(); 00038 00041 string getMessage() { return m_sMessage; } 00042 00043 private: //Private member 00045 string m_sMessage; 00046 }; 00047 00048 #endif
1.4.6