class Rex::ConnectionProxyError
This exception is raised when a proxy fails to pass a connection
Attributes
ptype[RW]
reason[RW]
Public Class Methods
new(host,port,ptype,reason)
click to toggle source
Calls superclass method
Rex::HostCommunicationError::new
# File lib/rex/exceptions.rb, line 292 def initialize(host,port,ptype,reason) super(host,port) self.ptype = ptype self.reason = reason end
Public Instance Methods
to_s()
click to toggle source
# File lib/rex/exceptions.rb, line 298 def to_s self.ptype + ": " + self.reason end