Exception: CMDB::BadData
Overview
Malformed data was encountered in the CMDB or in an app’s filesystem.
Instance Attribute Summary collapse
-
#url ⇒ URI
readonly
Filesystem or network location of the bad data.
Instance Method Summary collapse
-
#initialize(url, context = nil) ⇒ BadData
constructor
A new instance of BadData.
Constructor Details
#initialize(url, context = nil) ⇒ BadData
Returns a new instance of BadData.
66 67 68 69 |
# File 'lib/cmdb.rb', line 66 def initialize(url, context = nil) @url = url super("Malformed data encountered #{(' in ' + context) if context}") end |
Instance Attribute Details
#url ⇒ URI (readonly)
Returns filesystem or network location of the bad data.
62 63 64 |
# File 'lib/cmdb.rb', line 62 def url @url end |