Exception: ActiveFacts::API::CrossVocabularyRoleException
- Inherits:
-
SchemaException
- Object
- StandardError
- ActiveFactsException
- SchemaException
- ActiveFacts::API::CrossVocabularyRoleException
- Defined in:
- lib/activefacts/api/exceptions.rb
Instance Method Summary collapse
-
#initialize(klass, vocabulary) ⇒ CrossVocabularyRoleException
constructor
A new instance of CrossVocabularyRoleException.
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 |