mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-29 22:23:27 +01:00
33 lines
519 B
C
33 lines
519 B
C
|
#ifndef JEZUK_EVENTS_EXCEPTION_H
|
||
|
#define JEZUK_EVENTS_EXCEPTION_H
|
||
|
|
||
|
////////////////////////////
|
||
|
// C++ DOM definition
|
||
|
//
|
||
|
// $Id$
|
||
|
////////////////////////////
|
||
|
|
||
|
#include <exception>
|
||
|
|
||
|
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
|
||
|
|
||
|
#endif
|