Exception: RGeoServer::ShapefileInfo::ShapefileInfoGeometryNotExpected

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rgeoserver/utils/shapefile_info.rb

Instance Method Summary collapse

Constructor Details

#initialize(geometry_type) ⇒ ShapefileInfoGeometryNotExpected

Returns a new instance of ShapefileInfoGeometryNotExpected.



8
9
10
# File 'lib/rgeoserver/utils/shapefile_info.rb', line 8

def initialize geometry_type
  @geometry_type = geometry_type
end

Instance Method Details

#messageObject



12
13
14
# File 'lib/rgeoserver/utils/shapefile_info.rb', line 12

def message
  "The geometry type %s was not expected." % geometry_type
end