FileDocCategorySizeDatePackage
ObjectNotFoundException.javaAPI DocGlassfish v2 API2743Fri May 04 22:35:54 BST 2007javax.ejb

ObjectNotFoundException

public class ObjectNotFoundException extends FinderException
The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.

Only the finder methods that are declared to return a single EJB object use this exception. This exception should not be thrown by finder methods that return a collection of EJB objects (they should return an empty collection instead).

Fields Summary
Constructors Summary
public ObjectNotFoundException()
Constructs an ObjectNotFoundException with no detail message.

    
public ObjectNotFoundException(String message)
Constructs an ObjectNotFoundException with the specified detail message.

        super(message);
    
Methods Summary