mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
better
This commit is contained in:
parent
4bb52c062a
commit
0dafcc38a5
2
contrib/poco
vendored
2
contrib/poco
vendored
@ -1 +1 @@
|
||||
Subproject commit 08974cc024b2e748f5b1d45415396706b3521d0f
|
||||
Subproject commit 2c32e17c7dfee1f8bf24227b697cdef5fddf0823
|
@ -55,11 +55,6 @@ public:
|
||||
extendedMessage(fmt::format(format, std::forward<Args>(args)...));
|
||||
}
|
||||
|
||||
/// Note that base class has exactly the same, but not virtual function.
|
||||
virtual std::string displayText() const {
|
||||
return Poco::Exception::displayText();
|
||||
}
|
||||
|
||||
void addMessage(const std::string& message)
|
||||
{
|
||||
extendedMessage(message);
|
||||
@ -108,8 +103,7 @@ class ParsingException : public Exception
|
||||
public:
|
||||
using Exception::Exception;
|
||||
|
||||
/// In a good way we have to mark this function virtual in the base class Poco::Exception.
|
||||
/// For now it is virtual only since Exception (above class) in the hierarchy.
|
||||
/// We use additional field formatted_message_ to make this method const.
|
||||
std::string displayText() const override {
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user