diff --git a/include/InfluxDB/InfluxDBException.h b/include/InfluxDB/InfluxDBException.h index 1b4b891..483699d 100644 --- a/include/InfluxDB/InfluxDBException.h +++ b/include/InfluxDB/InfluxDBException.h @@ -45,46 +45,6 @@ namespace influxdb } }; - - /// \deprecated Use InfluxDBException instead - will be removed in v0.8.0 - class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] NonExistentDatabase : public InfluxDBException - { - public: - NonExistentDatabase(const std::string& source, const std::string& message) - : InfluxDBException("influx-cxx [" + source + "]: " + message) - { - } - }; - - /// \deprecated Use InfluxDBException instead - will be removed in v0.8.0 - class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] BadRequest : public InfluxDBException - { - public: - BadRequest(const std::string& source, const std::string& message) - : InfluxDBException("influx-cxx [" + source + "]: " + message) - { - } - }; - - /// \deprecated Use InfluxDBException instead - will be removed in v0.8.0 - class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] ServerError : public InfluxDBException - { - public: - ServerError(const std::string& source, const std::string& message) - : InfluxDBException("influx-cxx [" + source + "]: " + message) - { - } - }; - - /// \deprecated Use InfluxDBException instead - will be removed in v0.8.0 - class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] ConnectionError : public InfluxDBException - { - public: - ConnectionError(const std::string& source, const std::string& message) - : InfluxDBException("influx-cxx [" + source + "]: " + message) {}; - }; - - } // namespace influxdb #endif // INFLUXDATA_EXCEPTION_H