java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jooq.exception.DataAccessException
org.jooq.exception.MockFileDatabaseException
- All Implemented Interfaces:
Serializable
An unexpected result can be encountered while loading a file-based
MockDataProvider
.
This exception may for instance indicate that the number of rows is not in
accordance with the specified number of rows. I.e. it not be allowed for the
file-based MockDataProvider
to have this content:
select "TABLE2"."ID2", "TABLE2"."NAME2" from "TABLE2"
> +---+-----+
> |ID2|NAME2|
> +---+-----+
> |1 |X |
> |2 |Y |
> +---+-----+
@ rows: 1000
- Author:
- Samy Deghou, Lukas Eder
- See Also:
-
Constructor Summary
ConstructorDescriptionMockFileDatabaseException
(String message) Constructor for MockFileDatabaseException.MockFileDatabaseException
(String message, Throwable cause) Constructor for MockFileDatabaseException. -
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 Details
-
MockFileDatabaseException
Constructor for MockFileDatabaseException.- Parameters:
message
- the detail message
-
MockFileDatabaseException
Constructor for MockFileDatabaseException.- Parameters:
message
- the detail messagecause
- the root cause
-