8#include "Arp/Base/Core/PimplPtr.hxx"
9#include "Arp/Base/Commons/Exceptions/CommonExceptionBase.hpp"
11namespace Arp::Base::Commons::Exceptions
21 template<
typename... Args>
42 const Impl& GetImpl(
void)
const;
63template<
typename... Args>
77template<>
struct fmt::formatter<
Arp::Base::Commons::Exceptions::InvalidOperationException> :
public fmt::ostream_formatter {};
This class serves as base class for all Arp commons exceptions.
Definition: CommonExceptionBase.hpp:24
This exception is thrown when an operation cannot be executed because the related state is invalid.
Definition: InvalidOperationException.hpp:16
InvalidOperationException(const char *message, const Args &... args)
Creates an InvalidOperationException with message.
Definition: InvalidOperationException.hpp:64
InvalidOperationException(InvalidOperationException &&arg) noexcept
Default move constructor.
InvalidOperationException(const InvalidOperationException &arg)
Default copy constructor.
InvalidOperationException & operator=(const InvalidOperationException &arg)
Default copy-assignment operator.
InvalidOperationException & operator=(InvalidOperationException &&arg) noexcept
Default move-assignment operator.
~InvalidOperationException(void) override
Default destructor.
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
@ 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