PLCnext API Documentation  21.0.0.35466
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
Arp::System::Commons::ThreadInterruptException Class Reference
Inheritance diagram for Arp::System::Commons::ThreadInterruptException:
Inheritance graph

Public Member Functions

 ThreadInterruptException (void)
 Constructs an InterruptedException instance. More...
 
 ThreadInterruptException (const ThreadInterruptException &arg)=default
 Copy constructor. More...
 
ThreadInterruptExceptionoperator= (const ThreadInterruptException &arg)=default
 Assignment operator. More...
 
 ~ThreadInterruptException (void)=default
 Destructs this instance and frees all resources. More...
 
- Public Member Functions inherited from Arp::System::Commons::CommonException
ExceptionTypeId GetTypeId (void) const
 Returns the ExceptionTypeId of this exception. More...
 
- Public Member Functions inherited from Arp::Exception
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 StringGetMessage (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...
 

Protected Member Functions

Exception::Ptr Clone (void) const override
 Clones this instance. More...
 
- Protected Member Functions inherited from Arp::System::Commons::CommonException
 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...
 
- Protected Member Functions inherited from Arp::Exception
 Exception (String &&message, const Exception::Ptr &innerExceptionPtr)
 Constructs an instance of class Exception. More...
 

Additional Inherited Members

- Public Types inherited from Arp::Exception
typedef std::shared_ptr< ExceptionPtr
 The smart pointer tpye of this class. More...
 
- Static Protected Attributes inherited from Arp::Exception
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.
 

Constructor & Destructor Documentation

◆ ThreadInterruptException() [1/2]

Arp::System::Commons::ThreadInterruptException::ThreadInterruptException ( void  )
inline

Constructs an InterruptedException instance.

◆ ThreadInterruptException() [2/2]

Arp::System::Commons::ThreadInterruptException::ThreadInterruptException ( const ThreadInterruptException arg)
default

Copy constructor.

◆ ~ThreadInterruptException()

Arp::System::Commons::ThreadInterruptException::~ThreadInterruptException ( void  )
default

Destructs this instance and frees all resources.

Member Function Documentation

◆ Clone()

Exception::Ptr Arp::System::Commons::ThreadInterruptException::Clone ( void  ) const
overrideprotectedvirtual

Clones this instance.

Returns
A (deep) clone of this instance.

Reimplemented from Arp::Exception.

◆ operator=()

ThreadInterruptException& Arp::System::Commons::ThreadInterruptException::operator= ( const ThreadInterruptException arg)
default

Assignment operator.


The documentation for this class was generated from the following file: