Exception: ActiveFacts::API::CrossVocabularyRoleException

Inherits:
SchemaException show all
Defined in:
lib/activefacts/api/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass, vocabulary) ⇒ CrossVocabularyRoleException

Returns a new instance of CrossVocabularyRoleException.



19
20
21
# File 'lib/activefacts/api/exceptions.rb', line 19

def initialize klass, vocabulary
  super "#{klass} must be an object type in #{vocabulary.name}"
end