Exception: Applocale::ErrorUtil::ParseXlsxError::HeadeNotFound

Inherits:
ParseError show all
Defined in:
lib/applocale/Util/error_util.rb

Instance Attribute Summary collapse

Attributes inherited from ParseError

#rowinfo

Instance Method Summary collapse

Methods inherited from ParseError

#msg, raiseArr

Methods inherited from CommonError

#raise, #to_warn

Constructor Details

#initialize(sheetname) ⇒ HeadeNotFound

Returns a new instance of HeadeNotFound.



90
91
92
# File 'lib/applocale/Util/error_util.rb', line 90

def initialize(sheetname)
  @sheetname = sheetname
end

Instance Attribute Details

#sheetnameObject

Returns the value of attribute sheetname.



89
90
91
# File 'lib/applocale/Util/error_util.rb', line 89

def sheetname
  @sheetname
end

Instance Method Details

#messageObject



94
95
96
# File 'lib/applocale/Util/error_util.rb', line 94

def message
  "Header not found in sheet: #{self.sheetname}"
end