8 #include "Arp/System/Commons/Exceptions/Io/IoException.hpp" 10 namespace Arp {
namespace System {
namespace Commons {
namespace Io
17 template<
typename... Args>
25 virtual ~NotExistException(
void) =
default;
28 static NotExistException
Create(
const char* path);
29 static NotExistException
Create(
const char* path,
const Exception& innerException);
35 NotExistException& operator=(
const NotExistException& arg) =
delete;
38 static const char*
const defaultMessage;
45 template<
typename... Args>
String Format(int indentLevel, bool withInnerException) const override
Formats this exception using the given indent level.
NotExistException(const char *message, const Args &... args)
Constructs an NotExistException instance.
Definition: NotExistException.hpp:46
Namespace of the C++ standard library
This is the base class of all IO exceptions.
Definition: IoException.hpp:14
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
Exception::Ptr Clone(void) const override
Clones this instance.
This exception is used when a requested directory does not exist.
Definition: NotExistException.hpp:14
static NotExistException Create(const char *path)
Creates an NotExistException instance using a default message text.
Definition: NotExistException.hpp:76
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