8 #include "Arp/System/Commons/Exceptions/Plc/PlcException.hpp" 10 namespace Arp {
namespace System {
namespace Commons {
namespace Plc
17 template<
typename... Args>
25 virtual ~IndexOutOfRangeException(
void) =
default;
28 static IndexOutOfRangeException Create(
const String& stackTrace);
34 IndexOutOfRangeException& operator=(
const IndexOutOfRangeException& arg) =
delete;
41 template<
typename... Args>
49 :
PlcException(ExceptionTypeId::PlcIndexOutOfRange, message)
55 :
PlcException(ExceptionTypeId::PlcIndexOutOfRange, std::move(message))
61 :
PlcException(ExceptionTypeId::PlcIndexOutOfRange, message, innerException)
67 :
PlcException(ExceptionTypeId::PlcIndexOutOfRange, std::move(message), std::move(innerException))
This exception is used when an index is out of range.
Definition: IndexOutOfRangeException.hpp:14
IndexOutOfRangeException(const char *message, const Args &... args)
Constructs an IndexOutOfRangeException instance.
Definition: IndexOutOfRangeException.hpp:39
This exception is used when a $$$TODO$$$ occurs.
Definition: PlcException.hpp:16
std::shared_ptr< Exception > Ptr
The smart pointer tpye of this class.
Definition: Exception.hpp:19
static SelfType Format(const SelfType &format, const Args &... args)
Formats the format string using the .NET/Python syntax with the given variadic arguments.
Definition: BasicString.hxx:1482
Root namespace for the PLCnext API
Exception::Ptr Clone(void) const override
Clones this instance.
System components used by the System, Device, Plc or Io domains.
This is the base class of all Arp exception classes.
Definition: Exception.hpp:15