FileDocCategorySizeDatePackage
PersistenceException.javaAPI DocGlassfish v2 API3417Fri May 04 22:34:06 BST 2007javax.persistence

PersistenceException

public class PersistenceException extends RuntimeException
Thrown by the persistence provider when a problem occurs. All instances of PersistenceException except for instances of {@link NoResultException} and {@link NonUniqueResultException} will cause the current transaction, if one is active, to be marked for rollback.
since
Java Persistence 1.0

Fields Summary
Constructors Summary
public PersistenceException()
Constructs a new PersistenceException exception with null as its detail message.

		super();
	
public PersistenceException(String message)
Constructs a new PersistenceException exception with the specified detail message.

param
message the detail message.

		super(message);
	
public PersistenceException(String message, Throwable cause)
Constructs a new PersistenceException exception with the specified detail message and cause.

param
message the detail message.
param
cause the cause.

		super(message, cause);
	
public PersistenceException(Throwable cause)
Constructs a new PersistenceException exception with the specified cause.

param
cause the cause.

		super(cause);
	
Methods Summary