- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jooq.exception.DataAccessException
-
- org.jooq.exception.MockFileDatabaseException
-
- All Implemented Interfaces:
Serializable
public class MockFileDatabaseException extends DataAccessException
An unexpected result can be encountered while loading a file-basedMockDataProvider
.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MockFileDatabaseException(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 Detail
-
MockFileDatabaseException
public MockFileDatabaseException(String message)
Constructor for MockFileDatabaseException.- Parameters:
message
- the detail message
-
-