Exception: SakaiInfo::ObjectNotFoundException
- Inherits:
-
SakaiException
- Object
- Exception
- SakaiException
- SakaiInfo::ObjectNotFoundException
- 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
-
#initialize(classname, identifier) ⇒ ObjectNotFoundException
constructor
A new instance of ObjectNotFoundException.
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 |