Exception: MapExceptions::NotAdjacentException
- Inherits:
-
StandardError
- Object
- StandardError
- MapExceptions::NotAdjacentException
- Defined in:
- lib/map/mapExceptions.rb
Instance Method Summary collapse
-
#initialize(pointIni, pointFin) ⇒ NotAdjacentException
constructor
A new instance of NotAdjacentException.
Constructor Details
#initialize(pointIni, pointFin) ⇒ NotAdjacentException
Returns a new instance of NotAdjacentException.
13 14 15 16 |
# File 'lib/map/mapExceptions.rb', line 13 def initialize(pointIni, pointFin) msg = "Point #{pointFin} is not an adjacent point of #{pointIni}" super(msg) end |