Coverage Report

Created: 2026-03-01 07:11

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/poco/XML/src/EventException.cpp
Line
Count
Source
1
//
2
// EventException.cpp
3
//
4
// Library: XML
5
// Package: DOM
6
// Module:  DOMEvents
7
//
8
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
9
// and Contributors.
10
//
11
// SPDX-License-Identifier: BSL-1.0
12
//
13
14
15
#include "Poco/DOM/EventException.h"
16
#include <typeinfo>
17
18
19
namespace Poco {
20
namespace XML {
21
22
23
EventException::EventException(int code):
24
0
  XMLException("Unspecified event type")
25
0
{
26
0
}
27
28
29
EventException::EventException(const EventException& exc):
30
0
  XMLException(exc)
31
0
{
32
0
}
33
34
35
EventException::~EventException() noexcept
36
0
{
37
0
}
38
39
40
EventException& EventException::operator = (const EventException& exc)
41
0
{
42
0
  XMLException::operator = (exc);
43
0
  return *this;
44
0
}
45
46
47
const char* EventException::name() const noexcept
48
0
{
49
0
  return "EventException";
50
0
}
51
52
53
const char* EventException::className() const noexcept
54
0
{
55
0
  return typeid(*this).name();
56
0
}
57
58
59
Poco::Exception* EventException::clone() const
60
0
{
61
0
  return new EventException(*this);
62
0
}
63
64
65
} } // namespace Poco::XML