PLCnext API Documentation 25.0.2.69
Exceptions.h
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8
9//#ifdef ARP_USE_ARP_SYSTEM_COMMONS_EXCEPTIONS
10
11#include "Arp/System/Commons/Exceptions/ArgumentException.hpp"
12#include "Arp/System/Commons/Exceptions/ArgumentNullException.hpp"
13#include "Arp/System/Commons/Exceptions/ArgumentOutOfRangeException.hpp"
14#include "Arp/System/Commons/Exceptions/CommonException.hpp"
15#include "Arp/System/Commons/Exceptions/IndexOutOfRangeException.hpp"
16#include "Arp/System/Commons/Exceptions/InvalidCastException.hpp"
17#include "Arp/System/Commons/Exceptions/InvalidConfigException.hpp"
18#include "Arp/System/Commons/Exceptions/InvalidDataConnectionException.hpp"
19#include "Arp/System/Commons/Exceptions/InvalidOperationException.hpp"
20#include "Arp/System/Commons/Exceptions/KeyNotFoundException.hpp"
21#include "Arp/System/Commons/Exceptions/LicenseException.hpp"
22#include "Arp/System/Commons/Exceptions/NotAuthorizedException.hpp"
23#include "Arp/System/Commons/Exceptions/NotImplementedException.hpp"
24#include "Arp/System/Commons/Exceptions/NotSupportedException.hpp"
25#include "Arp/System/Commons/Exceptions/ObjectDisposedException.hpp"
26#include "Arp/System/Commons/Exceptions/OutOfMemoryException.hpp"
27#include "Arp/System/Commons/Exceptions/ParseException.hpp"
28#include "Arp/System/Commons/Exceptions/ThreadInterruptException.hpp"
29#include "Arp/System/Commons/Exceptions/TimeoutException.hpp"
30#include "Arp/System/Commons/Exceptions/XmlException.hpp"
31#include "Arp/System/Commons/Exceptions/XmlValidationException.hpp"
32
33// Io Exceptions
34#include "Arp/System/Commons/Exceptions/Io/AccessDeniedException.hpp"
35#include "Arp/System/Commons/Exceptions/Io/AlreadyExistsException.hpp"
36#include "Arp/System/Commons/Exceptions/Io/EndOfStreamException.hpp"
37#include "Arp/System/Commons/Exceptions/Io/InvalidPathException.hpp"
38#include "Arp/System/Commons/Exceptions/Io/IoException.hpp"
39#include "Arp/System/Commons/Exceptions/Io/NotExistException.hpp"
40#include "Arp/System/Commons/Exceptions/Io/OutOfSpaceException.hpp"
41
42
43namespace Arp {
44// just import Exceptions into Arp namespace (but not on global scope)
45//using Arp::System::Commons::ArgumentException;
46//using Arp::System::Commons::ArgumentNullException;
47//using Arp::System::Commons::ArgumentOutOfRangeException;
50//using Arp::System::Commons::InvalidCastException;
53//using Arp::System::Commons::InvalidOperationException;
56//using Arp::System::Commons::NotAuthorizedException;
57//using Arp::System::Commons::NotImplementedException;
58//using Arp::System::Commons::NotSupportedException;
68//using Arp::System::Commons::Io::EndOfStreamException;
73} // end of namespace Arp
74//#endif // def ARP_USE_ARP_SYSTEM_COMMONS_EXCEPTIONS
This is the base class of common exception classes.
Definition: CommonException.hpp:18
This exception is used when an index is out of range.
Definition: IndexOutOfRangeException.hpp:15
This exception is used when a method is not implemented yet.
Definition: InvalidConfigException.hpp:15
This exception is thrown when an unsupported GDS data connection occurs.
Definition: InvalidDataConnectionException.hpp:16
This exception is used when a requested file does not exist.
Definition: AccessDeniedException.hpp:15
This exception is used when a file should be created that already exists.
Definition: AlreadyExistsException.hpp:15
This exception is used when a requested file does not exist.
Definition: InvalidPathException.hpp:15
This is the base class of all IO exceptions.
Definition: IoException.hpp:15
This exception is used when a requested directory does not exist.
Definition: NotExistException.hpp:15
This exception is used when a requested file does not exist.
Definition: OutOfSpaceException.hpp:15
This exception is thrown when a key of value does not exists inside a map.
Definition: KeyNotFoundException.hpp:15
This exception is used if SD card is not licensed.
Definition: LicenseException.hpp:15
This exception is used when a method call is invalid for object's current state.
Definition: ObjectDisposedException.hpp:15
This exception is used when the memory exceeds.
Definition: OutOfMemoryException.hpp:15
This exception is used when it fails to parse a string.
Definition: ParseException.hpp:15
Definition: ThreadInterruptException.hpp:14
This exception is used when a timeout occurs.
Definition: TimeoutException.hpp:15
This exception is used for xml parsing errors.
Definition: XmlException.hpp:15
This exception is used for xml validation errors.
Definition: XmlValidationException.hpp:15
Root namespace for the PLCnext API