class SakaiInfo::ObjectNotFoundException

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

Public Class Methods

new(missing_class, identifier) click to toggle source
Calls superclass method
# File lib/sakai-info/exceptions.rb, line 19
def initialize(missing_class, identifier)
  @missing_class = missing_class
  @identifier = identifier

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

Public Instance Methods

classname() click to toggle source
# File lib/sakai-info/exceptions.rb, line 26
def classname
  @missing_class.name
end