Exception: LicenseAuto::PackageNotFound

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PackageNotFound.



14
15
16
17
# File 'lib/license_auto/exceptions.rb', line 14

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

Instance Method Details

#messageObject



18
19
20
# File 'lib/license_auto/exceptions.rb', line 18

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