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:
java.io.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 inProcessEngineBuilder#buildProcessEngine()
.- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.ProcessEngineException
code
-
-
Constructor Summary
Constructors Constructor Description WrongDbException(java.lang.String libraryVersion, java.lang.String dbVersion)
WrongDbException(java.lang.String exceptionMessage, 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 org.camunda.bpm.engine.ProcessEngineException
getCode, setCode
-
-