- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jooq.exception.DataAccessException
-
- org.jooq.exception.InvalidResultException
-
- org.jooq.exception.NoDataFoundException
-
- All Implemented Interfaces:
Serializable
public class NoDataFoundException extends InvalidResultException
No rows were returned from aResultQuery
, when exactly one row was expected.- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoDataFoundException()
Constructor for NoDataFoundException.NoDataFoundException(String message)
Constructor for NoDataFoundException.
-
Method Summary
-
Methods inherited from class org.jooq.exception.DataAccessException
getCause, getStackTrace, sqlState, sqlStateClass, sqlStateSubclass
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoDataFoundException
public NoDataFoundException()
Constructor for NoDataFoundException.
-
NoDataFoundException
public NoDataFoundException(String message)
Constructor for NoDataFoundException.- Parameters:
message
- the detail message
-
-