8 #include "Arp/System/Core/Exception.hpp"
9 #include "Arp/System/Commons/Exceptions/ExceptionTypeId.hpp"
10 #include "Arp/System/Commons/Runtime/StackTrace.hpp"
12 namespace Arp {
namespace System {
namespace Commons
34 String Format(
int indentLevel,
bool withInnerException)
const override;
50 , stackTrace(
std::move(
StackTrace::GetCurrent(skipStackTraceDepth)))
58 , stackTrace(
std::move(
StackTrace::GetCurrent(skipStackTraceDepth)))
66 , stackTrace(
std::move(
StackTrace::GetCurrent(skipStackTraceDepth)))
74 , stackTrace(
std::move(
StackTrace::GetCurrent(skipStackTraceDepth)))
82 , stackTrace(
std::move(
StackTrace::GetCurrent(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
ExceptionTypeId GetTypeId(void) const
Returns the ExceptionTypeId of this exception.
Definition: CommonException.hpp:89
CommonException(ExceptionTypeId typeId, const String &message, int skipStackTraceDepth=0)
Constructs an CommonException instance.
Definition: CommonException.hpp:48
String Format(int indentLevel, bool withInnerException) const override
Formats this exception using the given indent level.
uint32 GetTypeCodeInternal(void) const override
Get the type code of this exception. Must be overridden by derived classes.
Definition: StackTrace.hpp:14
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
@ System
System components used by the System, Device, Plc or Io domains.
Namespace for high level API for controlling processes, shared libraries, etc.
Definition: SharedLibrary.hpp:16
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