8#include "Arp/System/Commons/Exceptions/Plc/PlcException.hpp"
10namespace Arp {
namespace System {
namespace Commons {
namespace Plc
16 template<
typename... Args>
39 static const char*
const defaultMessage;
46template<
typename... Args>
56template<>
struct fmt::formatter<
Arp::System::Commons::Plc::DivisionByZeroException> :
public fmt::ostream_formatter {};
This is the base class of all Arp exception classes.
Definition: Exception.hpp:21
std::unique_ptr< Exception > Ptr
The smart pointer type of this class.
Definition: Exception.hpp:27
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Definition: DivisionByZeroException.hpp:14
Exception::Ptr Clone(void) const override
This operation clones this instance polymorpically as a deep copy.
Definition: DivisionByZeroException.cpp:13
DivisionByZeroException(const char *message, const Args &... args)
Constructs an DivisionByZeroException instance.
Definition: DivisionByZeroException.hpp:47
static DivisionByZeroException Create(const String &message)
Creates an DivisionByZeroException instance using a default message text.
Definition: DivisionByZeroException.cpp:19
Definition: PlcException.hpp:14
ExceptionTypeId
Specifies the type id of any exception derived by <see cref="CommonException".
Definition: ExceptionTypeId.hpp:15
Root namespace for the PLCnext API