Class NoResultException

All Implemented Interfaces:
Serializable

@API(status=STABLE, since="6.0") public class NoResultException extends EmptyResultDataAccessException
Throw when a query doesn't return a required result.
Since:
6.0
Author:
Michael J. Simons
See Also:
  • Constructor Details

    • NoResultException

      public NoResultException(int expectedNumberOfResults, String query)
  • Method Details

    • getQuery

      public String getQuery()