2002-06-21 13:16:28 +02:00
|
|
|
#ifndef JEZUK_EVENTS_EXCEPTION_H
|
|
|
|
#define JEZUK_EVENTS_EXCEPTION_H
|
|
|
|
|
|
|
|
////////////////////////////
|
|
|
|
// C++ DOM definition
|
|
|
|
//
|
|
|
|
// $Id$
|
|
|
|
////////////////////////////
|
|
|
|
|
|
|
|
#include <exception>
|
|
|
|
|
2007-09-05 13:47:13 +02:00
|
|
|
namespace Arabica
|
|
|
|
{
|
2002-06-21 13:16:28 +02:00
|
|
|
namespace DOM
|
|
|
|
{
|
|
|
|
|
|
|
|
namespace Events
|
|
|
|
{
|
|
|
|
|
|
|
|
class EventException : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
EventException(CODE code = UNSPECIFED_EVENT_TYPE_ERR) : std::runtime_error("EventException") { }
|
|
|
|
|
|
|
|
enum CODE
|
|
|
|
{
|
|
|
|
UNSPECIFED_EVENT_TYPE_ERR
|
|
|
|
}; // enum CODE
|
|
|
|
}; // class EventException
|
|
|
|
|
|
|
|
} // namespace Events
|
|
|
|
|
|
|
|
} // namespace DOM
|
2007-09-05 13:47:13 +02:00
|
|
|
} // namespace Arabica
|
2002-06-21 13:16:28 +02:00
|
|
|
|
2007-09-05 13:47:13 +02:00
|
|
|
#endif
|