Exception: VORuby::CoordinateSystems::CoordinateOutOfRangeException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- VORuby::CoordinateSystems::CoordinateOutOfRangeException
- Defined in:
- lib/voruby/spacetime/spacetime.rb
Direct Known Subclasses
Equatorial::Exception::DecOutOfRange, Equatorial::Exception::RAOutOfRange
Instance Method Summary collapse
-
#initialize(coord_name, value, start_range, end_range) ⇒ CoordinateOutOfRangeException
constructor
A new instance of CoordinateOutOfRangeException.
Constructor Details
#initialize(coord_name, value, start_range, end_range) ⇒ CoordinateOutOfRangeException
Returns a new instance of CoordinateOutOfRangeException.
60 61 62 |
# File 'lib/voruby/spacetime/spacetime.rb', line 60 def initialize(coord_name, value, start_range, end_range) super("#{coord_name} of #{value} out of allowed range. Must be between #{start_range} and #{end_range}.") end |