Exception: OGR::ReadOnlyObject

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ogr/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ ReadOnlyObject

Returns a new instance of ReadOnlyObject.



72
73
74
75
# File 'lib/ogr/exceptions.rb', line 72

def initialize(msg = nil)
  message = msg || "The object you're accessing is read-only.  Probably because it's internally managed by OGR."
  super(message)
end