Package org.camunda.bpm.engine
Class WrongDbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.camunda.bpm.engine.ProcessEngineException
org.camunda.bpm.engine.WrongDbException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.ProcessEngineException
code
-
Constructor Summary
ConstructorDescriptionWrongDbException
(String libraryVersion, String dbVersion) WrongDbException
(String exceptionMessage, String libraryVersion, String dbVersion) -
Method Summary
Modifier and TypeMethodDescriptionThe version of the Activiti library that was used to create the database schema.The version of the Activiti library used.Methods inherited from class org.camunda.bpm.engine.ProcessEngineException
getCode, setCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrongDbException
-
WrongDbException
-
-
Method Details
-
getLibraryVersion
The version of the Activiti library used. -
getDbVersion
The version of the Activiti library that was used to create the database schema.
-