Exception: Rex::BindFailed
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rex::BindFailed
- Includes:
- HostCommunicationError, SocketError
- Defined in:
- lib/rex/exceptions.rb
Overview
This exception is raised when an attempt to use an address or port that is already in use or not available occurs. such as binding to a host on a given port that is already in use, or when a bind address is specified that is not available to the host.
Instance Attribute Summary
Attributes included from HostCommunicationError
Instance Method Summary collapse
Methods included from HostCommunicationError
Instance Method Details
#to_s ⇒ Object
255 256 257 258 259 |
# File 'lib/rex/exceptions.rb', line 255 def to_s str = "The address is already in use or unavailable: #{addr_to_s}." str << " #{@reason}" unless @reason.nil? str end |