8#include "Arp/Base/Core/PimplPtr.hxx"
9#include "Arp/Base/Commons/Exceptions/CommonExceptionBase.hpp"
11namespace Arp::Base::Commons::Exceptions
29 template<
typename... Args>
52 const Impl& GetImpl(
void)
const;
78template<
typename... Args>
132template<>
struct fmt::formatter<
Arp::Base::Commons::Exceptions::ArgumentException> :
public fmt::ostream_formatter {};
This exception is thrown when an invalid argument occurs.
Definition: ArgumentException.hpp:17
~ArgumentException(void) override
Default destructor.
ArgumentException(ArgumentException &&arg) noexcept
Default move constructor.
ArgumentException & operator=(const ArgumentException &arg)
Default copy-assignment operator.
static ArgumentException Create(const char *paramName, const T ¶mValue)
Creates an ArgumentException using a default message.
Definition: ArgumentException.hpp:92
ArgumentException & operator=(ArgumentException &&arg) noexcept
Default move-assignment operator.
ArgumentException(const ArgumentException &arg)
Default copy constructor.
This class serves as base class for all Arp commons exceptions.
Definition: CommonExceptionBase.hpp:24
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