Name

ObjectNotFoundException

Synopsis

This subclass of FinderException is thrown by finder methods that are declared to return a single entity bean, when the requested entity could not be found in the server’s persistent storage.

                  
public class ObjectNotFoundException extends FinderException {
// Public Constructors
   public ObjectNotFoundException();  
   public ObjectNotFoundException( String message);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.