Sha256: 6aca703ac42488bd76cb873a93edcb0050b670b37e12f73ae59d8820d0b78def

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 Bytes

Contents

# Core exceptions class
#:include: ../shared/license.rdoc

# 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

1 entries across 1 versions & 1 rubygems

Version Path
ontomde-core-1.0.2 lib/ontomde-core/exceptions.rb