Is this object destroyed?
Binds new registration with itself. This registration/destroyable will be destroyed with this.
Checks, whether the object is not destroyed
Message that will replace default one before error
Callback runed before error is thrown; typically this can be some logging
Chcek whether the given object is destroyable
FakeClosePreventionSystem is a implementation of IClosePreventionSystem which implements the interface but does nothing