8#include "Arp/System/Commons/Exceptions/CommonException.hpp"
10namespace Arp {
namespace System {
namespace Commons
17 template<
typename... Args>
30 template<
typename... Args>
31 static XmlException Create(
const char* filename,
long lineNumber,
const char* message,
const Args& ... args);
40 static const char*
const defaultMessage;
41 static const char*
const fileLineMessage;
48template<
typename... Args>
54template<
typename... Args>
64template<>
struct fmt::formatter<
Arp::System::Commons::XmlException> :
public fmt::ostream_formatter {};
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
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 is the base class of common exception classes.
Definition: CommonException.hpp:18
This exception is used for xml parsing errors.
Definition: XmlException.hpp:15
XmlException(const char *message, const Args &... args)
Constructs an XmlException instance.
Definition: XmlException.hpp:49
Exception::Ptr Clone(void) const override
This operation clones this instance polymorpically as a deep copy.
Definition: XmlException.cpp:17
static XmlException Create(void)
Creates an XmlException instance using a default message text.
Definition: XmlException.cpp:47
ExceptionTypeId
Specifies the type id of any exception derived by <see cref="CommonException".
Definition: ExceptionTypeId.hpp:15
Root namespace for the PLCnext API