PLCnext API Documentation 26.6.0.38
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: // usings
16
17public: // construction/destruction
24 ~ThreadInterruptException(void) override = default;
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) override=default
Destructs this instance and frees all resources.
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.
ThreadInterruptException & operator=(const ThreadInterruptException &arg)=delete
Assignment operator.
Root namespace for the PLCnext API