mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
don't wrap TimeoutException in ICMPException
This commit is contained in:
parent
2870dd898c
commit
89da23d363
@ -93,6 +93,10 @@ int ICMPSocketImpl::receiveFrom(void*, int, SocketAddress& address, int flags)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (TimeoutException&)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception&)
|
||||
{
|
||||
std::string err = _icmpPacket.errorDescription(buffer.begin(), maxPacketSize);
|
||||
|
Loading…
Reference in New Issue
Block a user