Exception: FilesHunter::AccessAfterDataError

Inherits:
AccessDataError show all
Defined in:
lib/fileshunter/SegmentsAnalyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exceeding_offset) ⇒ AccessAfterDataError

Constructor

Parameters
  • message (String): The error message

  • exceeding_offset (Fixnum): The exceeding offset



51
52
53
54
# File 'lib/fileshunter/SegmentsAnalyzer.rb', line 51

def initialize(message, exceeding_offset)
  super(message)
  @exceeding_offset = exceeding_offset
end

Instance Attribute Details

#exceeding_offsetObject (readonly)

Returns the value of attribute exceeding_offset.



44
45
46
# File 'lib/fileshunter/SegmentsAnalyzer.rb', line 44

def exceeding_offset
  @exceeding_offset
end