Exception: ActiveFacts::API::MissingMandatoryRoleValueException

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

Instance Method Summary collapse

Constructor Details

#initialize(klass, role) ⇒ MissingMandatoryRoleValueException

Returns a new instance of MissingMandatoryRoleValueException.



79
80
81
# File 'lib/activefacts/api/exceptions.rb', line 79

def initialize klass, role
  super "A #{role.counterpart.object_type.basename} is required to satisfy the #{role.name.inspect} role of #{klass.basename}"
end