8#include "Arp/Base/Core/PimplPtr.hxx"
9#include "Arp/Base/Commons/Exceptions/ArgumentException.hpp"
11namespace Arp::Base::Commons::Exceptions
28 template<
typename... Args>
51 const Impl& GetImpl(
void)
const;
77template<
typename... Args>
129template<>
struct fmt::formatter<
Arp::Base::Commons::Exceptions::ArgumentOutOfRangeException> :
public fmt::ostream_formatter {};
This exception is thrown when an invalid argument occurs.
Definition: ArgumentException.hpp:17
This exception is thrown when an invalid null argument occurs.
Definition: ArgumentOutOfRangeException.hpp:16
~ArgumentOutOfRangeException(void) override
Default destructor.
static ArgumentOutOfRangeException Create(const char *paramName, const T ¶mValue)
Creates an ArgumentOutOfRangeException using a default message.
Definition: ArgumentOutOfRangeException.hpp:90
ArgumentOutOfRangeException(const ArgumentOutOfRangeException &arg)
Default copy constructor.
ArgumentOutOfRangeException(ArgumentOutOfRangeException &&arg) noexcept
Default move constructor.
ArgumentOutOfRangeException & operator=(ArgumentOutOfRangeException &&arg) noexcept
Default move-assignment operator.
ArgumentOutOfRangeException & operator=(const ArgumentOutOfRangeException &arg)
Default copy-assignment operator.
This class is used to count sequenced operation calls, which are e.g. invoked during an exception thr...
Definition: StackCounter.hpp:20
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
Adapter class to implement PImpl idiom.
Definition: PimplPtr.hxx:15
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
static String Format(const String &format, const Args &... args)
Formats the format string using the .NET/Python syntax with the given variadic arguments.
Definition: String.inl:18
@ Create
Creates a new file. If the file already exists, it is overwritten.
ExceptionTypeId
Specifies the type id of any exception derived by <see cref="CommonException".
Definition: ExceptionTypeId.hpp:15
Root namespace for the PLCnext API