Skip to content

Commit 106e5c9

Browse files
authored
Remove deprecated exception classes marked for removal (#165) (#302)
1 parent 4b08cd9 commit 106e5c9

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

include/InfluxDB/InfluxDBException.h

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -45,46 +45,6 @@ namespace influxdb
4545
}
4646
};
4747

48-
49-
/// \deprecated Use InfluxDBException instead - will be removed in v0.8.0
50-
class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] NonExistentDatabase : public InfluxDBException
51-
{
52-
public:
53-
NonExistentDatabase(const std::string& source, const std::string& message)
54-
: InfluxDBException("influx-cxx [" + source + "]: " + message)
55-
{
56-
}
57-
};
58-
59-
/// \deprecated Use InfluxDBException instead - will be removed in v0.8.0
60-
class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] BadRequest : public InfluxDBException
61-
{
62-
public:
63-
BadRequest(const std::string& source, const std::string& message)
64-
: InfluxDBException("influx-cxx [" + source + "]: " + message)
65-
{
66-
}
67-
};
68-
69-
/// \deprecated Use InfluxDBException instead - will be removed in v0.8.0
70-
class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] ServerError : public InfluxDBException
71-
{
72-
public:
73-
ServerError(const std::string& source, const std::string& message)
74-
: InfluxDBException("influx-cxx [" + source + "]: " + message)
75-
{
76-
}
77-
};
78-
79-
/// \deprecated Use InfluxDBException instead - will be removed in v0.8.0
80-
class [[deprecated("Use InfluxDBException instead - will be removed in v0.8.0")]] ConnectionError : public InfluxDBException
81-
{
82-
public:
83-
ConnectionError(const std::string& source, const std::string& message)
84-
: InfluxDBException("influx-cxx [" + source + "]: " + message) {};
85-
};
86-
87-
8848
} // namespace influxdb
8949

9050
#endif // INFLUXDATA_EXCEPTION_H

0 commit comments

Comments
 (0)