public class CreateException extends Exception
The CreateException exception must be included in the throws clauses of all create(...) methods define in an enterprise Bean's remote interface.
The exception is used as a standard application-level exception to report a failure to create an entity EJB object.
Constructor and Description |
---|
CreateException()
Constructs an CreateException with no detail message.
|
CreateException(String message)
Constructs an CreateException with the specified detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CreateException()
public CreateException(String message)
message
- - The detailed messageCopyright © 2016 JBoss by Red Hat. All rights reserved.