FileDocCategorySizeDatePackage
NonUniqueResultException.javaAPI DocGlassfish v2 API2895Fri May 04 22:34:06 BST 2007javax.persistence

NonUniqueResultException

public class NonUniqueResultException extends PersistenceException
Thrown by the persistence provider when {@link Query#getSingleResult getSingleResult()} is executed on a query and there is more than one result from the query. This exception will not cause the current transaction, if one is active, to be marked for roll back.
see
javax.persistence.Query#getSingleResult()
since
Java Persistence 1.0

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

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

param
message the detail message.

		super(message);
	
Methods Summary