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.
65 66 67 68 |
# File 'lib/cmdb.rb', line 65 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.
61 62 63 |
# File 'lib/cmdb.rb', line 61 def url @url end |