3#include "TranscribableException.h"
4#ifdef STARFLEETTOOLBOX_EXPORTS
5#define METHODNOTSUPPOORTEDEXCPT __declspec(dllexport)
7#define METHODNOTSUPPOORTEDEXCPT __declspec(dllimport)
22 SetTranslateCode(
string(translateCode));
31 SetTranslateCode(translateCode);
44 virtual const char*
what() const noexcept {
An exception used when sensor's method is not supported.
Definition MethodNotSupportedException.h:14
virtual ~MethodNotSupportedException() noexcept
Destructor.
Definition MethodNotSupportedException.h:38
string _msg
Definition MethodNotSupportedException.h:48
virtual const char * what() const noexcept
Overload of message retrie.
Definition MethodNotSupportedException.h:44
MethodNotSupportedException(const char *message, const char *translateCode)
Copy constructor.
Definition MethodNotSupportedException.h:20
MethodNotSupportedException(const string &message, string translateCode)
Copy constructor.
Definition MethodNotSupportedException.h:29