8#include "Arp/System/Commons/Exceptions/CommonException.hpp"
10namespace Arp {
namespace System {
namespace Commons {
namespace Plc
17 template<
typename... Args>
37 static PlcException CreateWithStackTrace(
int exc,
const String& message,
const String& additionalStackTrace,
int skipStackTraceDepth = 0);
46 static const char*
const defaultMessage;
49 static const int DefaultSkipStackTraceDepth = 3;
56template<
typename... Args>
112 :
CommonException(typeId, message, innerException, skipStackTraceDepth)
This is the base class of all Arp exception classes.
Definition: Exception.hpp:16
std::shared_ptr< Exception > Ptr
The smart pointer tpye of this class.
Definition: Exception.hpp:19
This is the base class of common exception classes.
Definition: CommonException.hpp:19
This exception is used when a $$$TODO$$$ occurs.
Definition: PlcException.hpp:15
Exception::Ptr Clone(void) const override
Clones this instance.
PlcException(const char *message, const Args &... args)
Constructs an PlcException instance.
Definition: PlcException.hpp:57
@ System
System components used by the System, Device, Plc or Io domains.
ExceptionTypeId
Specifies the type id of any exception derived by <see cref="CommonException".
Definition: ExceptionTypeId.hpp:15
Root namespace for the PLCnext API
Namespace of the C++ standard library