Exception: NCSAParser::BadLogLine

Inherits:
Exception
  • Object
show all
Defined in:
lib/ncsa-parser/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(line, pattern) ⇒ BadLogLine

Returns a new instance of BadLogLine.



8
9
10
# File 'lib/ncsa-parser/parser.rb', line 8

def initialize(line, pattern)
  super("Bad log line. Pattern: |#{pattern.join(' ')}| Line: |#{line}|")
end