Exception: Rex::AddressInUse
- Inherits:
-
ConnectionError
- Object
- IOError
- ConnectionError
- Rex::AddressInUse
- Includes:
- HostCommunicationError, SocketError
- Defined in:
- lib/rex/exceptions.rb
Overview
This exception is listed for backwards compatibility. We had been using AddressInUse as the exception for both bind errors and connection errors triggered by connection attempts to broadcast and network addresses. The two classes above have split this into their respective sources, but callers may still expect the old behavior.
Instance Attribute Summary
Attributes included from HostCommunicationError
Instance Method Summary collapse
Methods included from HostCommunicationError
Instance Method Details
#to_s ⇒ Object
261 262 263 |
# File 'lib/rex/exceptions.rb', line 261 def to_s "The address is already in use or unavailable: #{addr_to_s}." end |