Exception: SakaiInfo::ObjectNotFoundException

Inherits:
SakaiException show all
Defined in:
lib/sakai-info.rb

Overview

exception to be raised when an object of a certain type cannot be found

Instance Method Summary collapse

Constructor Details

#initialize(classname, identifier) ⇒ ObjectNotFoundException

Returns a new instance of ObjectNotFoundException.



28
29
30
31
32
33
# File 'lib/sakai-info.rb', line 28

def initialize(classname, identifier)
  @classname = classname
  @identifier = identifier

  super("Could not find a #{@classname} object for '#{@identifier}'")
end