|
PLCnext API Documentation 25.0.2.69
|
This exception is thrown when a specified path does not exists during a file operation. More...
#include <PathNotExistException.hpp>

Public Member Functions | |
| template<typename... Args> | |
| PathNotExistException (const char *message, const Args &... args) | |
| Creates an PathNotExistException with message. More... | |
| PathNotExistException (String &&message) | |
| Constructs an PathNotExistException instance. More... | |
| PathNotExistException (const String &message) | |
| Constructs an PathNotExistException instance. More... | |
| PathNotExistException (String &&message, const Exception &innerException) | |
| Constructs an PathNotExistException instance. More... | |
| PathNotExistException (const String &message, const Exception &innerException) | |
| Constructs an PathNotExistException instance. More... | |
| PathNotExistException (const PathNotExistException &arg) | |
| Default copy constructor. | |
| PathNotExistException (PathNotExistException &&arg) noexcept | |
| Default move constructor. | |
| PathNotExistException & | operator= (const PathNotExistException &arg) |
| Default copy-assignment operator. | |
| PathNotExistException & | operator= (PathNotExistException &&arg) noexcept |
| Default move-assignment operator. | |
| ~PathNotExistException (void) override | |
| Default destructor. | |
| Impl & | GetImpl (void) |
| For internal use only. | |
| const Impl & | GetImpl (void) const |
Public Member Functions inherited from Arp::Base::Commons::Exceptions::Io::IoException | |
| template<typename... Args> | |
| IoException (const char *message, const Args &... args) | |
| Creates an IoException with message. More... | |
| IoException (String &&message) | |
| Constructs an IoException instance. More... | |
| IoException (const String &message) | |
| Constructs an IoException instance. More... | |
| IoException (String &&message, const Exception &innerException) | |
| Constructs an IoException instance. More... | |
| IoException (const String &message, const Exception &innerException) | |
| Constructs an IoException instance. More... | |
| IoException (const IoException &arg) | |
| Default copy constructor. | |
| IoException (IoException &&arg) noexcept | |
| Default move constructor. | |
| IoException & | operator= (const IoException &arg) |
| Default copy-assignment operator. | |
| IoException & | operator= (IoException &&arg) noexcept |
| Default move-assignment operator. | |
| ~IoException (void) override | |
| Default destructor. | |
| Impl & | GetImpl (void) |
| For internal use only. | |
| const Impl & | GetImpl (void) const |
Public Member Functions inherited from Arp::Base::Commons::Exceptions::CommonExceptionBase | |
| const Stacktrace & | GetStacktrace (void) const |
| Gets the stackstrace of the point of creating this exception. More... | |
| const StacktraceItems & | GetStacktraceItems (void) const |
| Gets the stackstrace items of the point of creating this exception. More... | |
Public Member Functions inherited from Arp::Base::Core::Exception | |
| 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 PathNotExistException | Create (const String &path) |
| Creates an PathNotExistException using a default message. More... | |
| static PathNotExistException | Create (const String &path, const Exception &innerException) |
| Creates an PathNotExistException using a default message. More... | |
Static Public Member Functions inherited from Arp::Base::Commons::Exceptions::Io::IoException | |
| static IoException | Create (const String &message) |
| Creates an IoException using a default message. More... | |
| static IoException | Create (const String &message, const String &path) |
| Creates an IoException using a default message. More... | |
Protected Member Functions | |
| PathNotExistException (ExceptionTypeId typeId, String &&message, StackCounter stackCounter) | |
| Just for use from derived classes. More... | |
| PathNotExistException (ExceptionTypeId typeId, String &&message, const Exception &innerException, StackCounter stackCounter) | |
| Just for use from derived classes. More... | |
| Exception::Ptr | Clone (void) const override |
| This operation clones this instance polymorphically as a deep copy. More... | |
Protected Member Functions inherited from Arp::Base::Commons::Exceptions::Io::IoException | |
| IoException (ExceptionTypeId typeId, String &&message, StackCounter stackCounter) | |
| Creates an IoException instance, used by derived classes only. More... | |
| IoException (ExceptionTypeId typeId, const String &message, StackCounter stackCounter) | |
| Creates an IoException instance, used by derived classes only. More... | |
| IoException (ExceptionTypeId typeId, String &&message, const Exception &innerException, StackCounter stackCounter) | |
| Creates an IoException instance, used by derived classes only. More... | |
| IoException (ExceptionTypeId typeId, const String &message, const Exception &innerException, StackCounter stackCounter) | |
| Creates an IoException instance, used by derived classes only. More... | |
| Exception::Ptr | Clone (void) const override |
| This operation clones this instance polymorphically as a deep copy. More... | |
Protected Member Functions inherited from Arp::Base::Commons::Exceptions::CommonExceptionBase | |
| CommonExceptionBase (const CommonExceptionBase &arg) | |
| Default copy constructor. | |
| CommonExceptionBase (CommonExceptionBase &&arg) noexcept | |
| Default move constructor. | |
| CommonExceptionBase & | operator= (const CommonExceptionBase &arg) |
| Default copy-assignment operator. | |
| CommonExceptionBase & | operator= (CommonExceptionBase &&arg) noexcept |
| Default move-assignment operator. | |
| ~CommonExceptionBase (void) override | |
| Default destructor. | |
| CommonExceptionBase (ExceptionTypeId typeId, String &&message, StackCounter stackCounter) | |
| Constructs an CommonExceptionBase instance. Used by derived classes only. More... | |
| CommonExceptionBase (ExceptionTypeId typeId, const String &message, StackCounter stackCounter) | |
| Constructs an CommonExceptionBase instance. Used by derived classes only. More... | |
| CommonExceptionBase (ExceptionTypeId typeId, String &&message, const Exception &innerException, StackCounter stackCounter) | |
| Constructs an CommonExceptionBase instance. Used by derived classes only. More... | |
| CommonExceptionBase (ExceptionTypeId typeId, const String &message, const Exception &innerException, StackCounter stackCounter) | |
| Constructs an CommonExceptionBase instance. Used by derived classes only. More... | |
| String | Format (bool withInnerException) const override |
| Formats this exception using the given indent level. More... | |
Protected Member Functions inherited from Arp::Base::Core::Exception | |
| 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 | |
Public Types inherited from Arp::Base::Commons::Exceptions::CommonExceptionBase | |
| using | StackCounter = Arp::Base::Commons::Runtime::StackCounter |
| using | Stacktrace = Arp::Base::Commons::Runtime::Stacktrace |
| using | StacktraceItems = Arp::Base::Commons::Runtime::Stacktrace::Items |
Public Types inherited from Arp::Base::Core::Exception | |
| 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 thrown when a specified path does not exists during a file operation.
|
inlineexplicit |
Creates an PathNotExistException with message.
| ...Args | The variadic template types. |
| message | The format message. |
| ...args | The arguments of the format message. |
| Arp::Base::Commons::Exceptions::Io::PathNotExistException::PathNotExistException | ( | String && | message | ) |
Constructs an PathNotExistException instance.
| message | The exception message. |
| Arp::Base::Commons::Exceptions::Io::PathNotExistException::PathNotExistException | ( | const String & | message | ) |
Constructs an PathNotExistException instance.
| message | The exception message. |
| Arp::Base::Commons::Exceptions::Io::PathNotExistException::PathNotExistException | ( | String && | message, |
| const Exception & | innerException | ||
| ) |
Constructs an PathNotExistException instance.
| message | The exception message. |
| innerException | The inner exception. |
| Arp::Base::Commons::Exceptions::Io::PathNotExistException::PathNotExistException | ( | const String & | message, |
| const Exception & | innerException | ||
| ) |
Constructs an PathNotExistException instance.
| message | The exception message. |
| innerException | The inner exception. |
|
protected |
Just for use from derived classes.
| typeId | The type ID of the derived exception. |
| message | The exception message. |
| stackCounter | The counter of invocations to be skipped when building the stacktrace for logging. |
|
protected |
Just for use from derived classes.
| typeId | The type ID of the derived exception. |
| message | The exception message. |
| innerException | The inner exception. |
| stackCounter | The counter of invocations to be skipped when building the stacktrace for logging. |
|
overrideprotectedvirtual |
This operation clones this instance polymorphically as a deep copy.
Reimplemented from Arp::Base::Commons::Exceptions::Io::IoException.
|
static |
Creates an PathNotExistException using a default message.
| path | The not existing path. |
|
static |
Creates an PathNotExistException using a default message.
| path | The not existing path. |
| innerException | The inner exception. |