PLCnext API Documentation 25.0.2.69
ThreadInterruptException.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Commons/Exceptions/CommonException.hpp"
9
10namespace Arp { namespace System { namespace Commons
11{
12
14{
15public: // typedefs
16
17public: // construction/destruction
25
26protected: // overridden operations
27 Exception::Ptr Clone(void)const override;
28
29};
30
31}}} // end of namespace Arp::System::Commons
32
34// template specialization of ThreadInterruptException formatter
35template<> struct fmt::formatter<Arp::System::Commons::ThreadInterruptException> : public fmt::ostream_formatter {};
std::unique_ptr< Exception > Ptr
The smart pointer type of this class.
Definition: Exception.hpp:27
This is the base class of common exception classes.
Definition: CommonException.hpp:18
Definition: ThreadInterruptException.hpp:14
~ThreadInterruptException(void)=default
Destructs this instance and frees all resources.
ThreadInterruptException & operator=(const ThreadInterruptException &arg)=default
Assignment operator.
ThreadInterruptException(void)
Constructs an InterruptedException instance.
Definition: ThreadInterruptException.cpp:19
Exception::Ptr Clone(void) const override
This operation clones this instance polymorpically as a deep copy.
Definition: ThreadInterruptException.cpp:13
ThreadInterruptException(const ThreadInterruptException &arg)=default
Copy constructor.
Root namespace for the PLCnext API