Top Description Constructors Methods
org.jooq.exception

public Class MockFileDatabaseException

extends DataAccessException
Class Inheritance
Imports
org.jooq.tools.jdbc.MockDataProvider

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
Authors
Samy Deghou, Lukas Eder

Constructor Summary

AccessConstructor and Description
public
MockFileDatabaseException(String
the detail message
message
)

Constructor for MockFileDatabaseException.

public
MockFileDatabaseException(String
the detail message
message
,
Throwable
the root cause
cause
)

Constructor for MockFileDatabaseException.

Method Summary

Inherited from org.jooq.exception.DataAccessException:
getCausegetStackTracesqlStatesqlStateClasssqlStateClasssqlStateClasssqlStateSubclass

Constructor Detail

MockFileDatabaseExceptionback to summary
public MockFileDatabaseException(String message)

Constructor for MockFileDatabaseException.

Parameters
message:String

the detail message

MockFileDatabaseExceptionback to summary
public MockFileDatabaseException(String message, Throwable cause)

Constructor for MockFileDatabaseException.

Parameters
message:String

the detail message

cause:Throwable

the root cause