Note that the detail message associated with cause is
not automatically incorporated in this runtime exception's detail
message.
Parameters: message - the detail message (which is saved for later retrieval bythe JPersistenceUnitInfoException.getMessage() method). Parameters: cause - the cause (which is saved for later retrieval by theJPersistenceUnitInfoException.getCause() method).
Constructs a new runtime exception with null as its detail
message. The cause is not initialized, and may subsequently be
initialized by a call to
JPersistenceUnitInfoException.initCause .
JPersistenceUnitInfoException
public JPersistenceUnitInfoException(String message)(Code)
Constructs a new runtime exception with the specified detail message. The
cause is not initialized, and may subsequently be initialized by a call
to
JPersistenceUnitInfoException.initCause .
Parameters: message - the detail message. The detail message is saved for laterretrieval by the JPersistenceUnitInfoException.getMessage() method.
Constructs a new runtime exception with the specified detail message and
cause.
Note that the detail message associated with cause is
not automatically incorporated in this runtime exception's detail
message.
Parameters: message - the detail message (which is saved for later retrieval bythe JPersistenceUnitInfoException.getMessage() method). Parameters: cause - the cause (which is saved for later retrieval by theJPersistenceUnitInfoException.getCause() method). (A null value ispermitted, and indicates that the cause is nonexistent orunknown.)