19     typedef std::shared_ptr<Exception>  
Ptr;
    25     template<
typename... Args>
    26     Exception(
const char* message, 
const Args& ... args);
    85     virtual String          Format(
int indentLevel, 
bool withInnerException)
const;
   106 template<
typename... Args>
   113     : message(messageArg)
   118     : message(
std::move(messageArg))
   123     : message(messageArg), innerExceptionPtr(innerException.
Clone())
   128     : message(
std::move(messageArg)), innerExceptionPtr(innerException.
Clone())
   133     : message(
std::move(messageArg)), innerExceptionPtr(
std::move(innerException))
   139     return this->message;
   144     return (
bool)this->innerExceptionPtr;
   149     return this->innerExceptionPtr;
   164 inline std::ostream& operator<<(std::ostream& os, 
const Exception& e)
 String ToString(void) const
Gets a reasonable string representation of this exception.
 
virtual String Format(int indentLevel, bool withInnerException) const
Formats this exception using the given indent level.
 
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
 
Namespace of the C++ standard library
 
virtual ~Exception(void)=default
Destructs this instance virually.
 
static const int indentChar
The indentation character (blank) 
Definition: Exception.hpp:100
 
Exception::Ptr GetInnerException(void) const
Gets the inner exception of this exception.
Definition: Exception.hpp:147
 
const String & GetMessage(void) const
Gets the error message of this exception.
Definition: Exception.hpp:137
 
static const int innerIndentChar
The indentation character to indent inner exceptions. 
Definition: Exception.hpp:101
 
std::shared_ptr< Exception > Ptr
The smart pointer tpye of this class.
Definition: Exception.hpp:19
 
Exception(const char *message, const Args &... args)
Constructs an instance of class Exception.
Definition: Exception.hpp:107
 
Root namespace for the PLCnext API
 
bool HasInnerException(void) const
Determines if this exception has an inner exception.
Definition: Exception.hpp:142
 
virtual Exception::Ptr Clone(void) const
Clones this instance.
 
static const int indentSize
The indentation size (count of blanks) 
Definition: Exception.hpp:99
 
uint32 GetTypeCode(void) const
Gets the type code of this exception.
Definition: Exception.hpp:152
 
This is the base class of all Arp exception classes.
Definition: Exception.hpp:15
 
virtual uint32 GetTypeCodeInternal(void) const
Get the type code of this exception. Must be overridden by derived classes.