Exception: WarningRubyTypeUndefined

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ontomde-core/exceptions.rb

Overview

Exception raised when a ressources claims to be of a type not defined in currently loaded metamodels.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri, res) ⇒ WarningRubyTypeUndefined

Returns a new instance of WarningRubyTypeUndefined.



20
21
22
23
# File 'lib/ontomde-core/exceptions.rb', line 20

def initialize(uri,res)
  @res=res
  @uri=uri
end

Instance Attribute Details

#resObject (readonly)

Returns the value of attribute res.



19
20
21
# File 'lib/ontomde-core/exceptions.rb', line 19

def res
  @res
end

#uriObject (readonly)

Returns the value of attribute uri.



19
20
21
# File 'lib/ontomde-core/exceptions.rb', line 19

def uri
  @uri
end