OTX-Runtime for C++  
OpenTestSystem::Otx::Runtime::Api::Exceptions::OtxException Class Reference

Thrown when within an OTX sequence an OTX is not handled. More...

#include <Exception.h>

Inheritance diagram for OpenTestSystem::Otx::Runtime::Api::Exceptions::OtxException:
Inheritance graph

Public Member Functions

 OtxException ()
 Initializes a new instance of the OtxException class. More...
 
 OtxException (const std::string &otxType, const std::string &message)
 Initializes a new instance of the OtxException class. More...
 
std::string GetOtxType () const
 Gets the OTX type of the exception. More...
 
- Public Member Functions inherited from OpenTestSystem::Otx::Runtime::Api::Exceptions::RuntimeException
 RuntimeException ()
 Initializes a new instance of RuntimeException class. More...
 
 RuntimeException (const std::string &message)
 Initializes a new instance of RuntimeException class. More...
 
- Public Member Functions inherited from OpenTestSystem::Otx::Runtime::Api::Exceptions::Exception
 Exception ()
 Initializes a new instance of Exception class. More...
 
 Exception (const std::string &message)
 Initializes a new instance of Exception class. More...
 
virtual ~Exception ()
 Cleans up all resources. More...
 

Detailed Description

Thrown when within an OTX sequence an OTX is not handled.

Constructor & Destructor Documentation

◆ OtxException() [1/2]

OpenTestSystem::Otx::Runtime::Api::Exceptions::OtxException::OtxException ( )

Initializes a new instance of the OtxException class.

◆ OtxException() [2/2]

OpenTestSystem::Otx::Runtime::Api::Exceptions::OtxException::OtxException ( const std::string &  otxType,
const std::string &  message 
)

Initializes a new instance of the OtxException class.

Parameters
otxTypeName of otx exception.
messageError message that explains the reason for the Exception.

Member Function Documentation

◆ GetOtxType()

std::string OpenTestSystem::Otx::Runtime::Api::Exceptions::OtxException::GetOtxType ( ) const

Gets the OTX type of the exception.

Returns
Name of otx exception.

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