
/*
 * Copyright (C) 2014 Archie L. Cobbs. All rights reserved.
 *
 * $Id$
 */

package org.jsimpledb.core;

/**
 * Thrown when a field of a deleted object is accessed.
 */
@SuppressWarnings("serial")
public class DeletedObjectException extends DatabaseException {

    private final ObjId id;

    DeletedObjectException(ObjId id) {
        super("object with ID " + id + " not found");
        this.id = id;
    }

    /**
     * Get the ID of the object that could not be accessed.
     */
    public ObjId getId() {
        return this.id;
    }
}


@@ -292,16 +292,123 @@
 d;%0A%0A    
+/**%0A     * Constructor.%0A     *%0A     * @param id the ID of the object that was not found%0A     */%0A    public 
 DeletedO

Make constructor public.