Exception: ActiveFacts::API::RoleNotDefinedException
- Inherits:
-
RuntimeException
- Object
- StandardError
- ActiveFactsException
- RuntimeException
- ActiveFacts::API::RoleNotDefinedException
- Defined in:
- lib/activefacts/api/exceptions.rb
Instance Method Summary collapse
-
#initialize(klass, role_name) ⇒ RoleNotDefinedException
constructor
A new instance of RoleNotDefinedException.
Constructor Details
#initialize(klass, role_name) ⇒ RoleNotDefinedException
Returns a new instance of RoleNotDefinedException.
67 68 69 |
# File 'lib/activefacts/api/exceptions.rb', line 67 def initialize klass, role_name super "Role #{klass.basename}.#{role_name} is not defined" end |