Exception: Xampl::UnmanagedChange
- Inherits:
-
Exception
- Object
- Exception
- Xampl::UnmanagedChange
- Defined in:
- lib/xamplr/exceptions.rb
Instance Attribute Summary collapse
-
#xampl ⇒ Object
readonly
Returns the value of attribute xampl.
Instance Method Summary collapse
-
#initialize(xampl = nil) ⇒ UnmanagedChange
constructor
A new instance of UnmanagedChange.
- #message ⇒ Object
Constructor Details
#initialize(xampl = nil) ⇒ UnmanagedChange
Returns a new instance of UnmanagedChange.
133 134 135 |
# File 'lib/xamplr/exceptions.rb', line 133 def initialize(xampl=nil) @xampl = xampl end |
Instance Attribute Details
#xampl ⇒ Object (readonly)
Returns the value of attribute xampl.
131 132 133 |
# File 'lib/xamplr/exceptions.rb', line 131 def xampl @xampl end |
Instance Method Details
#message ⇒ Object
137 138 139 |
# File 'lib/xamplr/exceptions.rb', line 137 def "attempt to change #{@xampl}, pid: #{@xampl.get_the_index}, oid: #{@xampl.object_id} outside of its persister's management" end |