Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Exception.h
1 /*
2  * $Id$
3  * Copyright (c) 2006, IRIT UPS.
4  *
5  * elm/xom/Exception.h -- XOM Exception class interface.
6  */
7 #ifndef ELM_XOM_EXCEPTION_H
8 #define ELM_XOM_EXCEPTION_H
9 
10 #include <elm/xom/Node.h>
11 #include <elm/util/MessageException.h>
12 
13 namespace elm { namespace xom {
14 
15 // Exception class
16 class Exception: public MessageException {
17  Node *_node;
18 public:
19  Exception(Node *node, const String& message);
20  inline Node *node(void) const { return _node; };
21 };
22 
23 } } // elm::xom
24 
25 #endif // ELM_XOM_XOM_EXCEPTION_H
elm::MessageException
Definition: MessageException.h:30
elm::xom::String
Definition: String.h:35
elm::MessageException::message
virtual String message(void)
Definition: util_MessageException.cpp:50
elm::xom::Exception::Exception
Exception(Node *node, const String &message)
Definition: xom_Exception.cpp:39
elm
Definition: adapter.h:26
elm::xom::Exception
Definition: Exception.h:16
elm::xom::Exception::node
Node * node(void) const
Definition: Exception.h:20
elm::xom::Node
Definition: Node.h:40