KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > ejb > EJBNoSuchObjectException


1 /*
2  * JBoss, the OpenSource EJB server
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package javax.ejb;
8
9 /**
10  * A NoSuchObjectLocalException is thrown if an attempt is made to invoke
11  * a method on an object that no longer exists.
12  */

13 public class EJBNoSuchObjectException extends EJBException {
14
15   /**
16    * Constructs a NoSuchObjectLocalException with no detail message.
17    */

18   public EJBNoSuchObjectException() {
19     super();
20   }
21
22   /**
23    * Constructs a NoSuchObjectLocalException with the specified detailed message.
24    *
25    * @param message - The detailed message.
26    */

27   public EJBNoSuchObjectException(String message) {
28     super(message);
29   }
30
31   /**
32    * Constructs a NoSuchObjectLocalException with the specified detail message and a
33    * nested exception.
34    *
35    * @param message - The detailed message.
36    * @param ex - The originally thrown exception.
37    */

38   public EJBNoSuchObjectException(String message, Exception ex) {
39     super(message,ex);
40   }
41 }
42
Popular Tags