8#include "Arp/Base/Core/PimplPtr.hxx"
9#include "Arp/Base/Core/ExceptionTypeId.hpp"
10#include "Arp/Base/Rsc/Commons/RscError.hpp"
11#include "Arp/Base/Rsc/Commons/Arp.Base.Rsc.Commons.hpp"
12#include "Arp/Base/Commons/Exceptions/CommonExceptionBase.hpp"
14namespace Arp::Base::Rsc::Commons
31 template<
typename... Args>
32 RscException(RscError errorCode,
const char* message,
const Args& ... args);
44 template<
typename... Args>
45 static RscException Create(RscError errorCode,
const char* message,
const Args& ... args);
48 RscError GetErrorCode(
void)
const;
52 const Impl& GetImpl(
void)
const;
76template<
typename... Args>
88template<
typename... Args>
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
This exception class is used by RSC if any exception is thrown.
Definition: RscException.hpp:24
virtual ~RscException(void)
Default destructor.
RscException(RscException &&arg) noexcept
Default move constructor.
static RscException Create(RscError errorCode)
Creates an exception of this type.
Definition: RscException.cpp:103
RscException(const RscException &arg)
Default copy constructor.
RscException & operator=(RscException &&arg) noexcept
Default move-assignment operator.
RscException(RscError errorCode, const String &message)
Constructs a RscException.
Definition: RscException.cpp:57
RscException & operator=(const RscException &arg)
Default copy-assignment operator.
@ Create
Creates a new file. If the file already exists, it is overwritten.