javax.ejb
Class NoSuchEJBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
                  extended by javax.ejb.NoSuchEJBException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchEJBException
extends EJBException

A NoSuchEJBException is thrown if an attempt is made to invoke a business method on a stateful session or singleton object that no longer exists.

Since:
EJB 3.0
See Also:
Serialized Form

Constructor Summary
NoSuchEJBException()
          Constructs a NoSuchEJBException with no detail message.
NoSuchEJBException(java.lang.String message)
          Constructs a NoSuchEJBException with the specified detail message.
NoSuchEJBException(java.lang.String message, java.lang.Exception ex)
          Constructs a NoSuchEJBException with the specified detail message and a nested exception.
 
Method Summary
 
Methods inherited from class javax.ejb.EJBException
getCausedByException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchEJBException

public NoSuchEJBException()
Constructs a NoSuchEJBException with no detail message.


NoSuchEJBException

public NoSuchEJBException(java.lang.String message)
Constructs a NoSuchEJBException with the specified detail message.


NoSuchEJBException

public NoSuchEJBException(java.lang.String message,
                          java.lang.Exception ex)
Constructs a NoSuchEJBException with the specified detail message and a nested exception.



Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41