org.activiti.engine
Class ActivitiWrongDbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.activiti.engine.ActivitiException
org.activiti.engine.ActivitiWrongDbException
- All Implemented Interfaces:
- 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().
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ActivitiWrongDbException
public ActivitiWrongDbException(String libraryVersion,
String dbVersion)
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.
Copyright © 2012 Alfresco. All Rights Reserved.