class Rex::UnsupportedProtocol

This exception is raised when an unsupported internet protocol is specified.

Attributes

proto[RW]

Public Class Methods

new(proto = nil) click to toggle source
# File lib/rex/exceptions.rb, line 242
def initialize(proto = nil)
  self.proto = proto
end

Public Instance Methods

to_s() click to toggle source
# File lib/rex/exceptions.rb, line 246
def to_s
  "The protocol #{proto} is not supported."
end