PLCnext API Documentation
22.9.0.33
|
This exception is used when a $$$TODO$$$ occurs. More...
#include <StackOverflowException.hpp>
Public Member Functions | |
template<typename... Args> | |
StackOverflowException (const char *message, const Args &... args) | |
Constructs an StackOverflowException instance. More... | |
StackOverflowException (const String &message) | |
Constructs an StackOverflowException instance. More... | |
StackOverflowException (String &&message) | |
Constructs an StackOverflowException instance. More... | |
StackOverflowException (const String &message, const Exception &innerException) | |
Constructs an StackOverflowException instance. More... | |
StackOverflowException (String &&message, Exception &&innerException) | |
Constructs an StackOverflowException instance. More... | |
StackOverflowException (const StackOverflowException &arg)=default | |
StackOverflowException (StackOverflowException &&arg)=default | |
![]() | |
template<typename... Args> | |
PlcException (const char *message, const Args &... args) | |
Constructs an PlcException instance. More... | |
PlcException (const String &message) | |
Constructs an PlcException instance. More... | |
PlcException (String &&message) | |
Constructs an PlcException instance. More... | |
PlcException (const String &message, const Exception &innerException) | |
Constructs an PlcException instance. More... | |
PlcException (String &&message, Exception &&innerException) | |
Constructs an PlcException instance. More... | |
PlcException (const PlcException &arg)=default | |
PlcException (PlcException &&arg)=default | |
![]() | |
ExceptionTypeId | GetTypeId (void) const |
Returns the ExceptionTypeId of this exception. More... | |
![]() | |
template<typename... Args> | |
Exception (const char *message, const 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, Exception &&innerException) | |
Constructs an instance of class Exception. More... | |
Exception (const Exception &arg)=default | |
Constructs an instance of class Exception. More... | |
Exception (Exception &&arg)=default | |
Constructs an instance of class Exception. More... | |
virtual | ~Exception (void)=default |
Destructs this instance virually. More... | |
uint32 | GetTypeCode (void) const |
Gets the type code of this exception. More... | |
const String & | GetMessage (void) const |
Gets the error message of this exception. More... | |
bool | HasInnerException (void) const |
Determines if this exception has an inner exception. More... | |
Exception::Ptr | GetInnerException (void) const |
Gets the inner exception of this exception. More... | |
String | ToString (void) const |
Gets a reasonable string representation of this exception. More... | |
Static Public Member Functions | |
static StackOverflowException | Create (const String &stackTrace) |
![]() | |
static PlcException | Create (int exc, const String &stackTrace) |
Protected Member Functions | |
Exception::Ptr | Clone (void) const override |
Clones this instance. More... | |
![]() | |
PlcException (ExceptionTypeId typeId, String &&message, int skipStackTraceDepth=3) | |
Creates an PlcException instance used by derived classes. More... | |
PlcException (ExceptionTypeId typeId, const String &message, int skipStackTraceDepth=3) | |
Creates an PlcException instance used by derived classes. More... | |
PlcException (ExceptionTypeId typeId, String &&message, Exception &&innerException, int skipStackTraceDepth=3) | |
Creates an PlcException instance used by derived classes. More... | |
PlcException (ExceptionTypeId typeId, const String &message, const Exception &innerException, int skipStackTraceDepth=3) | |
Creates an PlcException instance used by derived classes. More... | |
![]() | |
CommonException (ExceptionTypeId typeId, const String &message, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. More... | |
CommonException (ExceptionTypeId typeId, String &&message, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. More... | |
CommonException (ExceptionTypeId typeId, const String &message, const Exception &innerException, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. More... | |
CommonException (ExceptionTypeId typeId, String &&message, Exception &&innerException, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. More... | |
CommonException (ExceptionTypeId typeId, String &&message, Exception::Ptr &&innerExceptionPtr, int skipStackTraceDepth=0) | |
Constructs an CommonException instance. More... | |
CommonException (const CommonException &arg)=default | |
CommonException (CommonException &&arg)=default | |
String | Format (int indentLevel, bool withInnerException) const override |
Formats this exception using the given indent level. More... | |
uint32 | GetTypeCodeInternal (void) const override |
Get the type code of this exception. Must be overridden by derived classes. More... | |
![]() | |
Exception (String &&message, const Exception::Ptr &innerExceptionPtr) | |
Constructs an instance of class Exception. More... | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< Exception > | Ptr |
The smart pointer tpye of this class. More... | |
![]() | |
static const int | indentSize = 3 |
The indentation size (count of blanks) | |
static const int | indentChar = ' ' |
The indentation character (blank) | |
static const int | innerIndentChar = '-' |
The indentation character to indent inner exceptions. | |
This exception is used when a $$$TODO$$$ occurs.
|
inline |
Constructs an StackOverflowException instance.
|
inline |
Constructs an StackOverflowException instance.
|
inline |
Constructs an StackOverflowException instance.
|
inline |
Constructs an StackOverflowException instance.
|
inline |
Constructs an StackOverflowException instance.
|
overrideprotectedvirtual |
Clones this instance.
Reimplemented from Arp::System::Commons::Plc::PlcException.