KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > store > ObjectNotFoundException


1 /*
2  * Copyright 2002-2003 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: ObjectNotFoundException.java,v 1.5 2003/10/20 05:59:28 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.store;
12
13 import javax.jdo.JDOObjectNotFoundException;
14
15
16 /**
17  * A <tt>ObjectNotFoundException</tt> is thrown if an attempt is made to load
18  * a persistent object having a given ID and that object ID does not exist in
19  * the data store.
20  * <p>
21  * This class is a TJDO-specific subclass that exists for historical reasons.
22  * Application code should use JDOObjectNotFoundException as the indication that
23  * an object was not found.
24  *
25  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
26  * @version $Revision: 1.5 $
27  */

28
29 public class ObjectNotFoundException extends JDOObjectNotFoundException
30 {
31     /**
32      * Constructs an object not found exception with the specified detail
33      * message and failed object.
34      *
35      * @param msg the detail message
36      * @param failed the failed object
37      */

38
39     public ObjectNotFoundException(String JavaDoc msg, Object JavaDoc failed)
40     {
41         super(msg, failed);
42     }
43 }
44
Popular Tags