Senzing C++ SDK
C++ SDK for Senzing v4, patterned after the official C# SDK
Loading...
Searching...
No Matches
SzException.hpp File Reference
#include <cstdint>
#include <exception>
#include <optional>
#include <stdexcept>
#include <string>
Include dependency graph for SzException.hpp:

Go to the source code of this file.

Classes

class  senzing::sdk::SzException
 Base exception for all Senzing engine errors. More...
 
class  senzing::sdk::SzEnvironmentDestroyedException
 Thrown when an SzEnvironment (or a subsystem it owns) is used after Destroy(). More...
 

Namespaces

namespace  senzing
 
namespace  senzing::sdk
 

Macros

#define SENZING_SDK_DECLARE_EXCEPTION(Name, Base)
 

Functions

 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzBadInputException, SzException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzConfigurationException, SzException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzReplaceConflictException, SzException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzRetryableException, SzException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzUnrecoverableException, SzException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzNotFoundException, SzBadInputException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzUnknownDataSourceException, SzBadInputException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzDatabaseConnectionLostException, SzRetryableException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzDatabaseTransientException, SzRetryableException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzRetryTimeoutExceededException, SzRetryableException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzDatabaseException, SzUnrecoverableException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzLicenseException, SzUnrecoverableException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzNotInitializedException, SzUnrecoverableException)
 
 senzing::sdk::SENZING_SDK_DECLARE_EXCEPTION (SzUnhandledException, SzUnrecoverableException)
 

Macro Definition Documentation

◆ SENZING_SDK_DECLARE_EXCEPTION

#define SENZING_SDK_DECLARE_EXCEPTION (   Name,
  Base 
)
Value:
class Name : public Base { \
public: \
Name() = default; \
explicit Name(std::string message) : Base(std::move(message)) {} \
Name(std::optional<int64_t> errorCode, std::string message) \
: Base(errorCode, std::move(message)) {} \
explicit Name(const std::exception& cause) : Base(cause) {} \
Name(std::string message, const std::exception& cause) \
: Base(std::move(message), cause) {} \
Name(std::optional<int64_t> errorCode, std::string message, \
const std::exception& cause) \
: Base(errorCode, std::move(message), cause) {} \
}