Exception: UnmatchedException

Inherits:
MulparseException show all
Defined in:
lib/mulparse/unmatched_exception.rb

Overview

This exception is raised when a Component’s ending delimiter can’t be found.

Instance Method Summary collapse

Constructor Details

#initialize(name, line) ⇒ UnmatchedException

Returns a new instance of UnmatchedException.



10
11
12
13
14
15
# File 'lib/mulparse/unmatched_exception.rb', line 10

def initialize( name, line )

    # Initialize Exception with message

    super( "UnmatchedException: finish_match for %p at line: #{line} not found" % name )

end