Exception: LicenseAuto::SourceURLNotFound

Inherits:
LicenseAutoError show all
Defined in:
lib/license_auto/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, server = nil) ⇒ SourceURLNotFound



24
25
26
27
# File 'lib/license_auto/exceptions.rb', line 24

def initialize(message=nil, server=nil)
  @message = message
  @server = server
end

Instance Method Details

#messageObject



28
29
30
# File 'lib/license_auto/exceptions.rb', line 28

def message
  "Package #{@message} can not be found in server #{@server}"
end