Exception: Rex::Proto::DCERPC::Exceptions::InvalidSocket
- Defined in:
- lib/rex/proto/dcerpc/exceptions.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ InvalidSocket
constructor
A new instance of InvalidSocket.
- #to_s ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(message = nil) ⇒ InvalidSocket
Returns a new instance of InvalidSocket.
149 150 151 |
# File 'lib/rex/proto/dcerpc/exceptions.rb', line 149 def initialize(=nil) @message = end |
Instance Method Details
#to_s ⇒ Object
153 154 155 156 157 158 |
# File 'lib/rex/proto/dcerpc/exceptions.rb', line 153 def to_s str = 'Invalid Socket.' if @message str += " #{@message}" end end |