Class MockFileDatabaseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MockFileDatabaseException
    extends DataAccessException
    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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MockFileDatabaseException​(java.lang.String message)
      Constructor for MockFileDatabaseException.
      MockFileDatabaseException​(java.lang.String message, java.lang.Throwable cause)
      Constructor for MockFileDatabaseException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MockFileDatabaseException

        public MockFileDatabaseException​(java.lang.String message)
        Constructor for MockFileDatabaseException.
        Parameters:
        message - the detail message
      • MockFileDatabaseException

        public MockFileDatabaseException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Constructor for MockFileDatabaseException.
        Parameters:
        message - the detail message
        cause - the root cause