Class ActivitiWrongDbException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ActivitiWrongDbException
    extends ActivitiException
    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().
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ActivitiWrongDbException​(java.lang.String libraryVersion, java.lang.String dbVersion)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDbVersion()
      The version of the Activiti library that was used to create the database schema.
      java.lang.String getLibraryVersion()
      The version of the Activiti library used.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

      • ActivitiWrongDbException

        public ActivitiWrongDbException​(java.lang.String libraryVersion,
                                        java.lang.String dbVersion)
    • Method Detail

      • getLibraryVersion

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

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