8 #include "Arp/System/Commons/Exceptions/CommonException.hpp"    10 namespace Arp { 
namespace System { 
namespace Commons
    17     template<
typename... Args>
    25     virtual ~XmlException(
void) = 
default;
    28     static XmlException 
Create(
void);
    30     template<
typename... Args>
    31     static XmlException 
Create(
const char* filename, 
long lineNumber, 
const char* message, 
const Args& ... args);
    37     XmlException& operator=(
const XmlException& arg) = 
delete;
    40     static const char* 
const defaultMessage;
    41     static const char* 
const fileLineMessage;
    48 template<
typename... Args>
    90 template<
typename... Args>
    93     return XmlException(String::Format(fileLineMessage, String::Format(message, args...), filename, lineNumber));
 Exception::Ptr Clone(void) const override
Clones this instance.
 
This is the base class of common exception classes.
Definition: CommonException.hpp:18
 
String Format(int indentLevel, bool withInnerException) const override
Formats this exception using the given indent level.
 
Namespace of the C++ standard library
 
static XmlException Create(void)
Creates an XmlException instance using a default message text.
Definition: XmlException.hpp:79
 
std::shared_ptr< Exception > Ptr
The smart pointer tpye of this class.
Definition: Exception.hpp:19
 
ExceptionTypeId
Specifies the type id of any exception derived by <see cref="CommonException".
Definition: ExceptionTypeId.hpp:14
 
Root namespace for the PLCnext API
 
This exception is used for xml parsing errors.
Definition: XmlException.hpp:14
 
XmlException(const char *message, const Args &... args)
Constructs an XmlException instance.
Definition: XmlException.hpp:49
 
System components used by the System, Device, Plc or Io domains.
 
This is the base class of all Arp exception classes.
Definition: Exception.hpp:15