FileDocCategorySizeDatePackage
NoResultException.javaAPI DocGlassfish v2 API2844Fri May 04 22:34:06 BST 2007javax.persistence

NoResultException

public class NoResultException extends PersistenceException
Thrown by the persistence provider when {@link Query#getSingleResult getSingleResult()} is executed on a query and there is no result to return. 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 NoResultException()
Constructs a new NoResultException exception with null as its detail message.

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

param
message the detail message.

		super(message);
	
Methods Summary