mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-11 16:43:33 +01:00
fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
68 lines
1003 B
C++
68 lines
1003 B
C++
//
|
|
// EventException.cpp
|
|
//
|
|
// $Id: //poco/1.4/XML/src/EventException.cpp#1 $
|
|
//
|
|
// Library: XML
|
|
// Package: DOM
|
|
// Module: DOMEvents
|
|
//
|
|
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/DOM/EventException.h"
|
|
#include <typeinfo>
|
|
|
|
|
|
namespace Poco {
|
|
namespace XML {
|
|
|
|
|
|
EventException::EventException(int code):
|
|
XMLException("Unspecified event type")
|
|
{
|
|
}
|
|
|
|
|
|
EventException::EventException(const EventException& exc):
|
|
XMLException(exc)
|
|
{
|
|
}
|
|
|
|
|
|
EventException::~EventException() throw()
|
|
{
|
|
}
|
|
|
|
|
|
EventException& EventException::operator = (const EventException& exc)
|
|
{
|
|
XMLException::operator = (exc);
|
|
return *this;
|
|
}
|
|
|
|
|
|
const char* EventException::name() const throw()
|
|
{
|
|
return "EventException";
|
|
}
|
|
|
|
|
|
const char* EventException::className() const throw()
|
|
{
|
|
return typeid(*this).name();
|
|
}
|
|
|
|
|
|
Poco::Exception* EventException::clone() const
|
|
{
|
|
return new EventException(*this);
|
|
}
|
|
|
|
|
|
} } // namespace Poco::XML
|