Exception: LicenseAuto::VirtualMethodError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/license_auto/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ VirtualMethodError

Just call to super with some fancy message.



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

def initialize(name)
  message = "Error: Pure virtual method '#{name}' called"
  super(message)
  logger.error(message)
end