Package org.camunda.bpm.engine.impl.db
Class EnginePersistenceLogger
- java.lang.Object
-
- org.camunda.commons.logging.BaseLogger
-
- org.camunda.bpm.engine.impl.ProcessEngineLogger
-
- org.camunda.bpm.engine.impl.db.EnginePersistenceLogger
-
public class EnginePersistenceLogger extends ProcessEngineLogger
- Author:
- Stefan Hentschel.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
HINT_TEXT
-
Fields inherited from class org.camunda.bpm.engine.impl.ProcessEngineLogger
ADMIN_PLUGIN_LOGGER, BPMN_BEHAVIOR_LOGGER, BPMN_PARSE_LOGGER, CMD_LOGGER, CMMN_OPERATION_LOGGER, CMMN_TRANSFORMER_LOGGER, CMNN_BEHAVIOR_LOGGER, CONFIG_LOGGER, CONTAINER_INTEGRATION_LOGGER, CONTEXT_LOGGER, CORE_LOGGER, DECISION_LOGGER, EXTERNAL_TASK_LOGGER, INCIDENT_LOGGER, INDENTITY_LOGGER, INSTANCE, JOB_EXECUTOR_LOGGER, METRICS_LOGGER, MIGRATION_LOGGER, PERSISTENCE_LOGGER, PROCESS_APPLICATION_LOGGER, PROJECT_CODE, PVM_LOGGER, SCRIPT_LOGGER, SECURITY_LOGGER, TELEMETRY_LOGGER, TEST_LOGGER, TX_LOGGER, UTIL_LOGGER
-
-
Constructor Summary
Constructors Constructor Description EnginePersistenceLogger()
-
Method Summary
-
Methods inherited from class org.camunda.bpm.engine.impl.ProcessEngineLogger
couldNotDetermineIp, exceptionWhileClosingProcessEngine, exceptionWhileInitializingProcessengine, historyCleanupJobReconfigurationFailure, initializingProcessEngine, initializingProcessEngineForResource, processEngineAlreadyInitialized, processEngineClosed, processEngineCreated, shouldLogCmdException, shouldLogJobException
-
-
-
-
Field Detail
-
HINT_TEXT
protected static final java.lang.String HINT_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildStringFromList
protected java.lang.String buildStringFromList(java.util.Collection<?> list)
-
entityCacheLookupException
public <T extends DbEntity> ProcessEngineException entityCacheLookupException(java.lang.Class<T> type, java.lang.String id, java.lang.Class<? extends DbEntity> entity, java.lang.Throwable cause)
-
entityCacheDuplicateEntryException
public ProcessEngineException entityCacheDuplicateEntryException(java.lang.String currentState, java.lang.String id, java.lang.Class<? extends DbEntity> entityClass, DbEntityState foundState)
-
alreadyMarkedEntityInEntityCacheException
public ProcessEngineException alreadyMarkedEntityInEntityCacheException(java.lang.String id, java.lang.Class<? extends DbEntity> entityClass, DbEntityState state)
-
flushDbOperationException
public ProcessEngineException flushDbOperationException(java.util.List<DbOperation> operationsToFlush, DbOperation failedOperation, java.lang.Throwable e)
-
concurrentUpdateDbEntityException
public OptimisticLockingException concurrentUpdateDbEntityException(DbOperation operation)
-
flushedCacheState
public void flushedCacheState(java.util.List<CachedDbEntity> cachedEntities)
-
mergeDbEntityException
public ProcessEngineException mergeDbEntityException(DbEntity entity)
-
databaseFlushSummary
public void databaseFlushSummary(java.util.Collection<DbOperation> operations)
-
executeDatabaseOperation
public void executeDatabaseOperation(java.lang.String operationType, java.lang.Object parameter)
-
executeDatabaseBulkOperation
public void executeDatabaseBulkOperation(java.lang.String operationType, java.lang.String statement, java.lang.Object parameter)
-
fetchDatabaseTables
public void fetchDatabaseTables(java.lang.String source, java.util.List<java.lang.String> tableNames)
-
missingSchemaResource
public void missingSchemaResource(java.lang.String resourceName, java.lang.String operation)
-
missingSchemaResourceException
public ProcessEngineException missingSchemaResourceException(java.lang.String resourceName, java.lang.String operation)
-
missingSchemaResourceFileException
public ProcessEngineException missingSchemaResourceFileException(java.lang.String fileName, java.lang.Throwable cause)
-
failedDatabaseOperation
public void failedDatabaseOperation(java.lang.String operation, java.lang.String statement, java.lang.Throwable cause)
-
performingDatabaseOperation
public void performingDatabaseOperation(java.lang.String operation, java.lang.String component, java.lang.String resourceName)
-
successfulDatabaseOperation
public void successfulDatabaseOperation(java.lang.String operation, java.lang.String component)
-
performDatabaseOperationException
public ProcessEngineException performDatabaseOperationException(java.lang.String operation, java.lang.String sql, java.lang.Throwable cause)
-
checkDatabaseTableException
public ProcessEngineException checkDatabaseTableException(java.lang.Throwable cause)
-
getDatabaseTableNameException
public ProcessEngineException getDatabaseTableNameException(java.lang.Throwable cause)
-
missingRelationMappingException
public ProcessEngineException missingRelationMappingException(java.lang.String relation)
-
databaseHistoryLevelException
public ProcessEngineException databaseHistoryLevelException(java.lang.String level)
-
invokeSchemaResourceToolException
public ProcessEngineException invokeSchemaResourceToolException(int length)
-
loadModelException
public ProcessEngineException loadModelException(java.lang.String type, java.lang.String modelName, java.lang.String id, java.lang.Throwable cause)
-
removeEntryFromDeploymentCacheFailure
public void removeEntryFromDeploymentCacheFailure(java.lang.String modelName, java.lang.String id, java.lang.Throwable cause)
-
engineAuthorizationTypeException
public ProcessEngineException engineAuthorizationTypeException(int usedType, int global, int grant, int revoke)
-
permissionStateException
public java.lang.IllegalStateException permissionStateException(java.lang.String methodName, java.lang.String type)
-
notUsableGroupIdForGlobalAuthorizationException
public ProcessEngineException notUsableGroupIdForGlobalAuthorizationException()
-
illegalValueForUserIdException
public ProcessEngineException illegalValueForUserIdException(java.lang.String id, java.lang.String expected)
-
requiredCamundaAdmin
public AuthorizationException requiredCamundaAdmin()
-
requiredCamundaAdminOrPermissionException
public AuthorizationException requiredCamundaAdminOrPermissionException(java.util.List<MissingAuthorization> missingAuthorizations)
-
createChildExecution
public void createChildExecution(ExecutionEntity child, ExecutionEntity parent)
-
initializeExecution
public void initializeExecution(ExecutionEntity entity)
-
initializeTimerDeclaration
public void initializeTimerDeclaration(ExecutionEntity entity)
-
requiredAsyncContinuationException
public ProcessEngineException requiredAsyncContinuationException(java.lang.String id)
-
restoreProcessInstanceException
public ProcessEngineException restoreProcessInstanceException(ExecutionEntity entity)
-
executionNotFoundException
public ProcessEngineException executionNotFoundException(java.lang.String id)
-
castModelInstanceException
public ProcessEngineException castModelInstanceException(ModelElementInstance instance, java.lang.String toElement, java.lang.String type, java.lang.String namespace, java.lang.Throwable cause)
-
requestedProcessInstanceNotFoundException
public BadUserRequestException requestedProcessInstanceNotFoundException(java.lang.String id)
-
queryExtensionException
public NotValidException queryExtensionException(java.lang.String extendedClassName, java.lang.String extendingClassName)
-
unsupportedResourceTypeException
public ProcessEngineException unsupportedResourceTypeException(java.lang.String type)
-
serializerNotDefinedException
public ProcessEngineException serializerNotDefinedException(java.lang.Object entity)
-
serializerOutOfContextException
public ProcessEngineException serializerOutOfContextException()
-
taskIsAlreadyAssignedException
public ProcessEngineException taskIsAlreadyAssignedException(java.lang.String usedId, java.lang.String foundId)
-
suspendedEntityException
public SuspendedEntityInteractionException suspendedEntityException(java.lang.String type, java.lang.String id)
-
logUpdateUnrelatedProcessDefinitionEntity
public void logUpdateUnrelatedProcessDefinitionEntity(java.lang.String thisKey, java.lang.String thatKey, java.lang.String thisDeploymentId, java.lang.String thatDeploymentId)
-
toManyProcessDefinitionsException
public ProcessEngineException toManyProcessDefinitionsException(int count, java.lang.String key, java.lang.String versionAttribute, java.lang.String versionValue, java.lang.String tenantId)
-
notAllowedIdException
public ProcessEngineException notAllowedIdException(java.lang.String id)
-
countRowsPerProcessEngineTable
public void countRowsPerProcessEngineTable(java.util.Map<java.lang.String,java.lang.Long> map)
-
countTableRowsException
public ProcessEngineException countTableRowsException(java.lang.Throwable cause)
-
selectTableCountForTable
public void selectTableCountForTable(java.lang.String name)
-
retrieveMetadataException
public ProcessEngineException retrieveMetadataException(java.lang.Throwable cause)
-
invokeTaskListenerException
public ProcessEngineException invokeTaskListenerException(java.lang.Throwable cause)
-
uninitializedFormKeyException
public BadUserRequestException uninitializedFormKeyException()
-
disabledHistoryException
public ProcessEngineException disabledHistoryException()
-
instantiateSessionException
public ProcessEngineException instantiateSessionException(java.lang.String name, java.lang.Throwable cause)
-
wrongDbVersionException
public WrongDbException wrongDbVersionException(java.lang.String version, java.lang.String dbVersion)
-
missingTableException
public ProcessEngineException missingTableException(java.util.List<java.lang.String> components)
-
missingActivitiTablesException
public ProcessEngineException missingActivitiTablesException()
-
unableToFetchDbSchemaVersion
public ProcessEngineException unableToFetchDbSchemaVersion(java.lang.Throwable cause)
-
failedTofetchVariableValue
public void failedTofetchVariableValue(java.lang.Throwable cause)
-
historicDecisionInputInstancesNotFetchedException
public ProcessEngineException historicDecisionInputInstancesNotFetchedException()
-
historicDecisionOutputInstancesNotFetchedException
public ProcessEngineException historicDecisionOutputInstancesNotFetchedException()
-
executingDDL
public void executingDDL(java.util.List<java.lang.String> logLines)
-
collectResultValueOfUnsupportedTypeException
public ProcessEngineException collectResultValueOfUnsupportedTypeException(TypedValue collectResultValue)
-
creatingHistoryLevelPropertyInDatabase
public void creatingHistoryLevelPropertyInDatabase(HistoryLevel historyLevel)
-
couldNotSelectHistoryLevel
public void couldNotSelectHistoryLevel(java.lang.String message)
-
noHistoryLevelPropertyFound
public void noHistoryLevelPropertyFound()
-
noDeploymentLockPropertyFound
public void noDeploymentLockPropertyFound()
-
debugJobExecuted
public void debugJobExecuted(JobEntity jobEntity)
-
multipleTenantsForProcessDefinitionKeyException
public ProcessEngineException multipleTenantsForProcessDefinitionKeyException(java.lang.String processDefinitionKey)
-
cannotDeterminePaDataformats
public ProcessEngineException cannotDeterminePaDataformats(ProcessApplicationUnavailableException e)
-
cannotChangeTenantIdOfTask
public ProcessEngineException cannotChangeTenantIdOfTask(java.lang.String taskId, java.lang.String currentTenantId, java.lang.String tenantIdToSet)
-
cannotSetDifferentTenantIdOnSubtask
public ProcessEngineException cannotSetDifferentTenantIdOnSubtask(java.lang.String parentTaskId, java.lang.String tenantId, java.lang.String tenantIdToSet)
-
multipleTenantsForDecisionDefinitionKeyException
public ProcessEngineException multipleTenantsForDecisionDefinitionKeyException(java.lang.String decisionDefinitionKey)
-
multipleTenantsForCaseDefinitionKeyException
public ProcessEngineException multipleTenantsForCaseDefinitionKeyException(java.lang.String caseDefinitionKey)
-
deleteProcessDefinitionWithProcessInstancesException
public ProcessEngineException deleteProcessDefinitionWithProcessInstancesException(java.lang.String processDefinitionId, java.lang.Long processInstanceCount)
-
resolveParentOfExecutionFailedException
public ProcessEngineException resolveParentOfExecutionFailedException(java.lang.String parentId, java.lang.String executionId)
-
noHistoryCleanupLockPropertyFound
public void noHistoryCleanupLockPropertyFound()
-
logUpdateUnrelatedCaseDefinitionEntity
public void logUpdateUnrelatedCaseDefinitionEntity(java.lang.String thisKey, java.lang.String thatKey, java.lang.String thisDeploymentId, java.lang.String thatDeploymentId)
-
logUpdateUnrelatedDecisionDefinitionEntity
public void logUpdateUnrelatedDecisionDefinitionEntity(java.lang.String thisKey, java.lang.String thatKey, java.lang.String thisDeploymentId, java.lang.String thatDeploymentId)
-
noStartupLockPropertyFound
public void noStartupLockPropertyFound()
-
flushDbOperationUnexpectedException
public ProcessEngineException flushDbOperationUnexpectedException(java.util.List<DbOperation> operationsToFlush, java.lang.Throwable cause)
-
wrongBatchResultsSizeException
public ProcessEngineException wrongBatchResultsSizeException(java.util.List<DbOperation> operationsToFlush)
-
multipleDefinitionsForVersionTagException
public ProcessEngineException multipleDefinitionsForVersionTagException(java.lang.String decisionDefinitionKey, java.lang.String decisionDefinitionVersionTag)
-
invalidResourceForPermission
public BadUserRequestException invalidResourceForPermission(java.lang.String resourceType, java.lang.String permission)
-
invalidResourceForAuthorization
public BadUserRequestException invalidResourceForAuthorization(int resourceType, java.lang.String permission)
-
disabledPermissionException
public BadUserRequestException disabledPermissionException(java.lang.String permission)
-
batchingNotSupported
public ProcessEngineException batchingNotSupported(DbOperation operation)
-
disabledHistoricInstancePermissionsException
public ProcessEngineException disabledHistoricInstancePermissionsException()
-
noTelemetryLockPropertyFound
public void noTelemetryLockPropertyFound()
-
noTelemetryPropertyFound
public void noTelemetryPropertyFound()
-
creatingTelemetryPropertyInDatabase
public void creatingTelemetryPropertyInDatabase(java.lang.Boolean telemetryEnabled)
-
errorFetchingTelemetryPropertyInDatabase
public void errorFetchingTelemetryPropertyInDatabase(java.lang.Exception exception)
-
errorConfiguringTelemetryProperty
public void errorConfiguringTelemetryProperty(java.lang.Exception exception)
-
noInstallationIdPropertyFound
public void noInstallationIdPropertyFound()
-
creatingInstallationPropertyInDatabase
public void creatingInstallationPropertyInDatabase(java.lang.String value)
-
couldNotSelectInstallationId
public void couldNotSelectInstallationId(java.lang.String message)
-
noInstallationIdLockPropertyFound
public void noInstallationIdLockPropertyFound()
-
installationIdPropertyFound
public void installationIdPropertyFound(java.lang.String value)
-
ignoreFailureDuePreconditionNotMet
public void ignoreFailureDuePreconditionNotMet(DbOperation ignoredOperation, java.lang.String preconditionMessage, DbOperation failedOperation)
-
crdbTransactionRetryException
public CrdbTransactionRetryException crdbTransactionRetryException(DbOperation operation)
-
crdbTransactionRetryExceptionOnCommit
public CrdbTransactionRetryException crdbTransactionRetryExceptionOnCommit(java.lang.Throwable cause)
-
crdbFailureIgnored
public void crdbFailureIgnored(DbOperation operation)
-
debugDisabledPessimisticLocks
public void debugDisabledPessimisticLocks()
-
errorFetchingTelemetryInitialMessagePropertyInDatabase
public void errorFetchingTelemetryInitialMessagePropertyInDatabase(java.lang.Exception exception)
-
logTaskWithoutExecution
public void logTaskWithoutExecution(java.lang.String taskId)
-
multipleTenantsForCamundaFormDefinitionKeyException
public ProcessEngineException multipleTenantsForCamundaFormDefinitionKeyException(java.lang.String camundaFormDefinitionKey)
-
concurrentModificationFailureIgnored
public void concurrentModificationFailureIgnored(DbOperation operation)
-
findRelatedSqlExceptions
public static java.util.List<java.sql.SQLException> findRelatedSqlExceptions(java.lang.Throwable exception)
-
collectExceptionMessages
public static java.lang.String collectExceptionMessages(java.lang.Throwable cause)
-
-