Visioscan Set SDK Libraries 1.0.14
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
BadAcknowledgmentException.h
1#pragma once
2#include <string>
3#ifdef STARFLEETTOOLBOX_EXPORTS
4#define BADACKEXCEPT __declspec(dllexport)
5#else
6#define BADACKEXCEPT __declspec(dllimport)
7#endif
8using namespace std;
9
13class BADACKEXCEPT BadAcknowledgmentException : exception
14{
15public:
20 explicit BadAcknowledgmentException(const char* message)
21 : _msg(message) {}
26 explicit BadAcknowledgmentException(const string& message)
27 : _msg(message) {}
28
33 virtual ~BadAcknowledgmentException() noexcept {}
34
39 virtual const char* what() const noexcept {
40 return _msg.c_str();
41 }
42protected:
43 string _msg;
44};
45
An Exception used when a bad acknowledgment error is detected.
Definition BadAcknowledgmentException.h:14
BadAcknowledgmentException(const string &message)
Copy constructor.
Definition BadAcknowledgmentException.h:26
BadAcknowledgmentException(const char *message)
Copy constructor.
Definition BadAcknowledgmentException.h:20
string _msg
Definition BadAcknowledgmentException.h:43
virtual const char * what() const noexcept
Overload of message retrie.
Definition BadAcknowledgmentException.h:39
virtual ~BadAcknowledgmentException() noexcept
Destructor.
Definition BadAcknowledgmentException.h:33