Sha256: 24267bcd99386da50c060be13509c90849c33c8339e138b12f0ff0fba123ea4f

Contents?: true

Size: 566 Bytes

Versions: 5

Compression:

Stored size: 566 Bytes

Contents

# Core exceptions class

# Generic use exception.
class Warning  < RuntimeError
  def initialize()
  end
end

# Exception raised when an URI is not found in current model.
class WarningURIundefined  < RuntimeError
  attr_reader :uri
  def initialize(uri)
    @uri=uri
  end
end

# Exception raised when a ressources claims to be of a type not defined in currently loaded metamodels.
class WarningRubyTypeUndefined  < RuntimeError
  attr_reader :uri,:res
  def initialize(uri,res)
    @res=res
    @uri=uri
  end
end

class WarningUnknownFileType  < RuntimeError
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ontomde-core-1.0.6 lib/ontomde-core/exceptions.rb
ontomde-core-2.0.0 lib/ontomde-core/exceptions.rb
ontomde-core-1.0.4 lib/ontomde-core/exceptions.rb
ontomde-core-2.0.4 lib/ontomde-core/exceptions.rb
ontomde-core-2.0.5 lib/ontomde-core/exceptions.rb