Class WrongDbException

  • All Implemented Interfaces:
    Serializable

    public class WrongDbException
    extends ProcessEngineException
    Exception that is thrown when the Activiti engine discovers a mismatch between the database schema version and the engine version. The check is done when the engine is created in ProcessEngineBuilder#buildProcessEngine().
    Author:
    Tom Baeyens
    See Also:
    Serialized Form
    • Constructor Detail

      • WrongDbException

        public WrongDbException​(String libraryVersion,
                                String dbVersion)
      • WrongDbException

        public WrongDbException​(String exceptionMessage,
                                String libraryVersion,
                                String dbVersion)
    • Method Detail

      • getLibraryVersion

        public String getLibraryVersion()
        The version of the Activiti library used.
      • getDbVersion

        public String getDbVersion()
        The version of the Activiti library that was used to create the database schema.