8 #include "Arp/System/Commons/Exceptions/CommonException.hpp"    10 namespace Arp { 
namespace System { 
namespace Commons
    17     template<
typename... Args>
    25     virtual ~NotAuthorizedException(
void) = 
default;
    28     static NotAuthorizedException 
Create(
const char* failedAction);
    34     NotAuthorizedException& operator=(
const NotAuthorizedException& arg) = 
delete;
    37     static const char* 
const defaultMessage;
    44 template<
typename... Args>
 This is the base class of common exception classes.
Definition: CommonException.hpp:18
 
String Format(int indentLevel, bool withInnerException) const override
Formats this exception using the given indent level.
 
Namespace of the C++ standard library
 
static NotAuthorizedException Create(const char *failedAction)
Creates an NotAuthorizedException instance using a default message text.
Definition: NotAuthorizedException.hpp:75
 
std::shared_ptr< Exception > Ptr
The smart pointer tpye of this class.
Definition: Exception.hpp:19
 
ExceptionTypeId
Specifies the type id of any exception derived by <see cref="CommonException".
Definition: ExceptionTypeId.hpp:14
 
Exception::Ptr Clone(void) const override
Clones this instance.
 
Root namespace for the PLCnext API
 
This exception is thrown when an operation is not authorized for the actual user.
Definition: NotAuthorizedException.hpp:14
 
System components used by the System, Device, Plc or Io domains.
 
This is the base class of all Arp exception classes.
Definition: Exception.hpp:15
 
NotAuthorizedException(const char *message, const Args &... args)
Constructs an NotAuthorizedException instance.
Definition: NotAuthorizedException.hpp:45