 
 package com.threerings.presents.dobj {
 
+import flash.errors.IllegalOperationError;
+
 import flash.events.EventDispatcher;
 
 import com.threerings.util.ClassUtil;

        buf.append("oid=", _oid);
    }

    public function startTransaction () :void
    {
        // TODO
    }

    public function commitTransaction () :void
    {
        // TODO
    }

    public function inTransaction () :Boolean
    {
        return false; // TODO
    }

    public function cancelTransaction () :void
    {
        // TODO
    }

    internal function clearTransaction () :void
    {
        // TODO
    }

    public function isActive () :Boolean
    {
        return (_omgr != null);
    }


    protected var _subscribers :Array;

    /** The compound event associated with our transaction, if we're currently in a transaction. */
    protected var _tevent :CompoundEvent;

    /** The nesting depth of our current transaction. */
    protected var _tcount :int;

    /** Whether or not our nested transaction has been cancelled. */
    protected var _tcancelled :Boolean;

    /** Indicates whether we want to be destroyed when our last subscriber is removed. */
    protected var _deathWish :Boolean = false;
}
}
