ximol/error.hpp File Reference


Detailed Description

Define the main error class.

Author:
Tournois Florent
Version:
1.0
Id
error.hpp,v 1.15 2004/03/04 18:45:29 tournois Exp
Log
error.hpp,v
Revision 1.15 2004/03/04 18:45:29 tournois Compatibility with gcc.

Revision 1.14 2004/03/03 22:05:30 tournois Add a short roadmap. Add BOOST_NO_STD_WSTRING for gcc.

Revision 1.13 2004/02/22 10:27:32 tournois Add some doc.

Revision 1.12 2004/02/22 09:54:19 tournois Change years on the copyright.

Revision 1.11 2004/01/29 20:52:35 tournois doc and tutorial.

Revision 1.10 2004/01/27 21:49:51 tournois Add docs and tutorial.

Revision 1.9 2003/11/16 13:25:25 tournois Change the error to use wide string. Change the translation to use wide string.

Revision 1.8 2003/11/16 11:03:23 tournois no message

Revision 1.7 2003/11/15 19:06:39 tournois no message

Revision 1.6 2003/11/02 19:23:01 tournois Go to the boost coding standard. Change all name to lower case.

Revision 1.5 2003/10/25 13:53:39 hfp review and separation

Revision 1.4 2003/10/08 10:20:06 hfp Enum openmode is already qualified by class-scope (implicit).

Revision 1.3 2003/09/24 08:28:17 tournois Create the namespace Encoders, Parser, Xml Change the library organization. add VC7.1 project for this organization.

Definition in file error.hpp.

#include <ximol/namespace_defs.hpp>
#include <ximol/export_defs.hpp>
#include <ximol/typedefs.hpp>
#include <exception>
#include <sstream>

Include dependency graph for error.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  error
 An implementation of a simple error. More...


Defines

#define XIMOL_THROW   { XIMOL_NAMESPACE_PATH::error err; err
 Macro to throw the error.

#define XIMOL_HERE   (::std::ostringstream()<<"(file "<<__FILE__<<",line "<<__LINE__<<")").str()
 Macro to precise the location.

#define XIMOL_AS_ERROR   ""; throw err; };
 Macro to throw the error.



Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.