PLCnext API Documentation 25.0.2.69
|
This exception is used when a requested file does not exist. More...
#include <InvalidPathException.hpp>
Public Member Functions | |
template<typename... Args> | |
InvalidPathException (const char *message, const Args &... args) | |
Constructs an InvalidPathException instance. | |
InvalidPathException (const String &message) | |
Constructs an InvalidPathException instance. | |
InvalidPathException (String &&message) | |
Constructs an InvalidPathException instance. | |
InvalidPathException (const String &message, const Exception &innerException) | |
Constructs an InvalidPathException instance. | |
InvalidPathException (String &&message, Exception &&innerException) | |
Constructs an InvalidPathException instance. | |
InvalidPathException (const InvalidPathException &arg)=default | |
InvalidPathException (InvalidPathException &&arg)=default | |
![]() | |
template<typename... Args> | |
IoException (const char *message, const Args &... args) | |
Constructs an IoException instance. | |
IoException (const String &message) | |
Constructs an IoException instance. | |
IoException (String &&message) | |
Constructs an IoException instance. | |
IoException (const String &message, const Exception &innerException) | |
Constructs an IoException instance. | |
IoException (String &&message, Exception &&innerException) | |
Constructs an IoException instance. | |
IoException (const IoException &arg)=default | |
IoException (IoException &&arg) noexcept=default | |
![]() | |
Exception (const Exception &arg) | |
Default copy constructor. | |
Exception (Exception &&arg) noexcept | |
Default move constructor. | |
Exception & | operator= (const Exception &arg) |
Default copy-assignment operator. | |
Exception & | operator= (Exception &&arg) noexcept |
Default move-assignment operator. | |
virtual | ~Exception (void) |
Default destructor. | |
Exception (void) | |
Constructs an empty instance of class Exception. | |
template<typename... Args> | |
Exception (const char *message, Args &&... args) | |
Constructs an instance of class Exception. More... | |
Exception (const String &message) | |
Constructs an instance of class Exception. More... | |
Exception (String &&message) | |
Constructs an instance of class Exception. More... | |
Exception (const String &message, const Exception &innerException) | |
Constructs an instance of class Exception. More... | |
Exception (String &&message, const Exception &innerException) | |
Constructs an instance of class Exception. More... | |
const String & | GetMessage (void) const |
Gets the error message of this exception. More... | |
ExceptionTypeId | GetTypeId (void) const |
Gets the type ID of this exception. More... | |
TypeCode | GetTypeCode (void) const |
Gets the type code of this exception. More... | |
bool | HasInnerException (void) const |
Determines if this exception has an inner exception. More... | |
const Exception & | GetInnerException (void) const |
Gets the inner exception of this exception. More... | |
String | ToString (void) const |
This operation should be used for logging and returns a reasonable description of the exception cause. More... | |
virtual Exception::Ptr | Clone (void) const |
This operation clones this instance polymorphically as a deep copy. More... | |
virtual String | Format (bool withInnerException) const |
Formats this exception using the given indent level. More... | |
Impl & | GetImpl (void) |
For internal use only. | |
const Impl & | GetImpl (void) const |
Static Public Member Functions | |
static InvalidPathException | Create (const String &path) |
Creates an InvalidPathException instance using a default message text. | |
static InvalidPathException | Create (const String &path, const Exception &innerException) |
Creates an InvalidPathException instance using a default message text. | |
static InvalidPathException | Create (const String &sourcePath, const String &destinationPath) |
Creates an InvalidPathException instance using a default message text. | |
static InvalidPathException | Create (const String &sourcePath, const String &destinationPath, const Exception &innerException) |
Creates an InvalidPathException instance using a default message text. | |
Protected Member Functions | |
Exception::Ptr | Clone (void) const override |
This operation clones this instance polymorpically as a deep copy. More... | |
![]() | |
IoException (ExceptionTypeId typeId, String &&message, int skipStackTraceDepth=3) | |
Creates an IoException instance used by derived classes. | |
IoException (ExceptionTypeId typeId, const String &message, int skipStackTraceDepth=3) | |
Creates an IoException instance used by derived classes. | |
IoException (ExceptionTypeId typeId, String &&message, Exception &&innerException, int skipStackTraceDepth=3) | |
Creates an IoException instance used by derived classes. | |
IoException (ExceptionTypeId typeId, const String &message, const Exception &innerException, int skipStackTraceDepth=3) | |
Creates an IoException instance used by derived classes. | |
Exception::Ptr | Clone (void) const override |
This operation clones this instance polymorpically as a deep copy. More... | |
![]() | |
CommonException (ExceptionTypeId typeId, const String &message, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. | |
CommonException (ExceptionTypeId typeId, String &&message, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. | |
CommonException (ExceptionTypeId typeId, const String &message, const Exception &innerException, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. | |
CommonException (ExceptionTypeId typeId, String &&message, Exception &&innerException, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. | |
CommonException (ExceptionTypeId typeId, String &&message, Exception::Ptr &&innerExceptionPtr, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. | |
CommonException (const CommonException &arg)=default | |
CommonException (CommonException &&arg) noexcept=default | |
String | Format (bool withInnerException) const override |
Formats this exception using the given indent level. More... | |
![]() | |
Exception (ExceptionTypeId typeId, String &&message) | |
Used by derived exception classes. More... | |
Exception (ExceptionTypeId typeId, const String &message) | |
Used by derived exception classes. More... | |
Exception (ExceptionTypeId typeId, String &&message, const Exception &innerException) | |
Used by derived exception classes. More... | |
Exception (ExceptionTypeId typeId, const String &message, const Exception &innerException) | |
Used by derived exception classes. More... | |
Exception (String &&message, const Exception::Ptr &innerExceptionPtr) | |
DEPRECATED. More... | |
String | Format (int indentLevel, bool withInnerException) const |
DEPRECATED. More... | |
virtual uint32 | GetTypeCodeInternal (void) const |
DEPRECATED. More... | |
Additional Inherited Members | |
![]() | |
using | ExceptionTypeId = Arp::ExceptionTypeId |
![]() | |
using | Ptr = std::unique_ptr< Exception > |
The smart pointer type of this class. | |
using | TypeCode = std::underlying_type< Arp::Base::Core::ExceptionTypeId >::type |
The integral type of the type code. | |
This exception is used when a requested file does not exist.
|
overrideprotectedvirtual |
This operation clones this instance polymorpically as a deep copy.
Never ever forget to override this operation in any derived exception class.
Reimplemented from Arp::Base::Core::Exception.