class Rex::Proto::DCERPC::Exceptions::InvalidSocket

Public Class Methods

new(message=nil) click to toggle source
# File lib/rex/proto/dcerpc/exceptions.rb, line 148
def initialize(message=nil)
    @message = message
end

Public Instance Methods

to_s() click to toggle source
# File lib/rex/proto/dcerpc/exceptions.rb, line 152
def to_s
    str = 'Invalid Socket.'
    if @message
        str += " #{@message}"
    end
end