NoResultException Class
NPersistence Reference Guide
Thrown by the persistence provider when M:Query.getSingleResult or M:TypedQuery`1.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 rollback.

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
public class NoResultException : PersistenceException

Members

      
 All Members  Constructors  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
NoResultException()()()()
Constructs a new NoResultException exception with null as its detail message.
NoResultException(String)
Constructs a new NoResultException exception with the specified detail message.

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    NPersistence..::..PersistenceException
      NPersistence..::..NoResultException

See Also