The EJBException exception is thrown by an enterprise Bean instance to its
container to report that the invoked business method or callback method
could not be completed because of an unexpected error (e.g. the instance
failed to open a database connection).
Constructor Summary
public
EJBException() Constructs an EJBException with no detail message.
public
EJBException(String message) Constructs an EJBException with the specified detailed message.
public
EJBException(Exception ex) Constructs an EJBException that embeds the originally thrown exception.
public
EJBException(String message, Exception ex) Constructs an EJBException with the specified message and the
originally throw exception.
Constructs an EJBException with the specified message and the
originally throw exception.
Parameters: message - - The detailed message. Parameters: ex - - The originally thrown exception.