org.camunda.bpm.engine
Class WrongDbException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.camunda.bpm.engine.ProcessEngineException
                  extended by org.camunda.bpm.engine.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 Summary
WrongDbException(String libraryVersion, String dbVersion)
           
 
Method Summary
 String getDbVersion()
          The version of the Activiti library that was used to create the database schema.
 String getLibraryVersion()
          The version of the Activiti library used.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

WrongDbException

public WrongDbException(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.



Copyright © 2014 camunda services GmbH. All Rights Reserved.