Name

CreateException

Synopsis

This exception must be thrown by all create() methods declared in an enterprise JavaBean’s home interface. It is thrown if an error occurs during the process of creating the bean, as opposed to a communications error with the server before or after the bean is created.

                  
public class CreateException extends Exception {
// Public Constructors
   public CreateException();  
   public CreateException( String message);  
}

Subclasses

DuplicateKeyException

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.