Class: AdLint::FatalErrorMessage
- Defined in:
- lib/adlint/message.rb
Overview
DESCRIPTION
AdLint specific internal fatal error message.
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(msg_catalog, cause_ex) ⇒ FatalErrorMessage
constructor
DESCRIPTION Constructs a AdLint specific internal fatal error message.
- #must_be_deferred? ⇒ Boolean
- #must_be_unique? ⇒ Boolean
Methods inherited from Message
#complement_with, #eql?, #hash, #id, #print_as_csv, #print_as_str, #to_s
Constructor Details
#initialize(msg_catalog, cause_ex) ⇒ FatalErrorMessage
DESCRIPTION
Constructs a AdLint specific internal fatal error message.
PARAMETER
- msg_catalog
-
MessageCatalog – Message catalog.
- cause_ex
-
Exception – Cause exception.
230 231 232 233 234 235 |
# File 'lib/adlint/message.rb', line 230 def initialize(msg_catalog, cause_ex) msg_id = MessageId.new("core", cause_ex.) super(msg_catalog.lookup(msg_id), cause_ex.location || Location.new, *cause_ex.parts) @cause_ex = cause_ex end |
Instance Method Details
#must_be_deferred? ⇒ Boolean
241 242 243 |
# File 'lib/adlint/message.rb', line 241 def must_be_deferred? false end |
#must_be_unique? ⇒ Boolean
237 238 239 |
# File 'lib/adlint/message.rb', line 237 def must_be_unique? false end |