1 #ifndef OpenTestSystem_Otx_Runtime_Api_DataTypes_Exception_H
2 #define OpenTestSystem_Otx_Runtime_Api_DataTypes_Exception_H
11 #pragma warning (disable : 4275)
12 #pragma warning (disable : 4251)
15 namespace OpenTestSystem {
namespace Otx {
namespace Runtime {
namespace Api {
19 namespace Exceptions {
23 class API_EXPORTS
Exception :
public std::runtime_error
79 OtxException(
const std::string &otxType,
const std::string &message);
Thrown when the connection state produces an Exception.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:182
ConnectionStateException()
Initializes a new instance of the ConnectionStateException class.
ConnectionStateException(const std::string &messagge)
Initializes a new instance of the ConnectionStateException class.
Base class of Exceptions of Api.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:24
Exception(const std::string &message)
Initializes a new instance of Exception class.
Exception()
Initializes a new instance of Exception class.
virtual ~Exception()
Cleans up all resources.
Thrown when a file cannot be found.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:128
FileNotFoundException()
Initializes a new instance of the FileNotFoundException class.
FileNotFoundException(const std::string &message)
Initializes a new instance of the FileNotFoundException class.
Thrown when converting non-otx api datatype into a string
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:110
InvalidDataTypeException()
Initializes a new instance of the InvalidDataTypeException class.
InvalidDataTypeException(const std::string &message)
Initializes a new instance of the InvalidDataTypeException class.
Thrown when a license of runtimeManager Api is not valid or expired
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:146
InvalidLicenseException()
Initializes a new instance of the InvalidLicenseException class.
InvalidLicenseException(const std::string &message)
Initializes a new instance of the InvalidLicenseException class.
Thrown when a literal string cannot be converted to OTX Object.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:92
InvalidLiteralException()
Initializes a new instance of the InvalidLiteralException class.
InvalidLiteralException(const std::string &message)
Initializes a new instance of the InvalidLiteralException class.
Thrown when within an OTX sequence an OTX is not handled.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:65
OtxException(const std::string &otxType, const std::string &message)
Initializes a new instance of the OtxException class.
OtxException()
Initializes a new instance of the OtxException class.
std::string GetOtxType() const
Gets the OTX type of the exception.
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector,...
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:200
OutOfBoundsException(const std::string &message)
Initializes a new instance of the OutOfBoundsException class.
OutOfBoundsException()
Initializes a new instance of the OutOfBoundsException class.
Thrown when a runner is not alive anymore.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:218
RunnerNotAliveException()
Initializes a new instance of the RunnerNotAliveException class.
RunnerNotAliveException(const std::string &message)
Initializes a new instance of the RunnerNotAliveException class.
Thrown when OTX-Runtime produces an Exception.
Definition: Workspace/Products/OpenTestSystem/trunk/src/Cpp/otxruntime/OpenTestSystem.Otx.Runtime.Api/include/public/Exceptions/Exception.h:47
RuntimeException()
Initializes a new instance of RuntimeException class.
RuntimeException(const std::string &message)
Initializes a new instance of RuntimeException class.
Namespace containing all objects related to testing inside automotive industry