Exception: Macros4Cuke::NoFormattingEventForFormatter
- Inherits:
-
Macros4CukeError
- Object
- StandardError
- Macros4CukeError
- Macros4Cuke::NoFormattingEventForFormatter
- Defined in:
- lib/macros4cuke/exceptions.rb
Overview
Raised when the list of formatting events provided by a macro-step formatter is nil or empty.
Instance Method Summary collapse
-
#initialize(aFormatter) ⇒ NoFormattingEventForFormatter
constructor
A new instance of NoFormattingEventForFormatter.
Constructor Details
#initialize(aFormatter) ⇒ NoFormattingEventForFormatter
Returns a new instance of NoFormattingEventForFormatter.
125 126 127 128 129 |
# File 'lib/macros4cuke/exceptions.rb', line 125 def initialize(aFormatter) msg1 = "Formatter #{aFormatter.class}" msg2 = 'does not support any formatting event.' super(msg1 + ' ' + msg2) end |