01: /*
02: * Copyright 2002-2003 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: ObjectNotFoundException.java,v 1.5 2003/10/20 05:59:28 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.store;
12:
13: import javax.jdo.JDOObjectNotFoundException;
14:
15: /**
16: * A <tt>ObjectNotFoundException</tt> is thrown if an attempt is made to load
17: * a persistent object having a given ID and that object ID does not exist in
18: * the data store.
19: * <p>
20: * This class is a TJDO-specific subclass that exists for historical reasons.
21: * Application code should use JDOObjectNotFoundException as the indication that
22: * an object was not found.
23: *
24: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
25: * @version $Revision: 1.5 $
26: */
27:
28: public class ObjectNotFoundException extends JDOObjectNotFoundException {
29: /**
30: * Constructs an object not found exception with the specified detail
31: * message and failed object.
32: *
33: * @param msg the detail message
34: * @param failed the failed object
35: */
36:
37: public ObjectNotFoundException(String msg, Object failed) {
38: super(msg, failed);
39: }
40: }
|