class GenericExecutionContext extends ContextImpl implements ExecutionContext
An execution context is expected to be on the stack for the duration of the connection.
CONTEXT_ID, CS_TO_JDBC_ISOLATION_LEVEL_MAP, CS_TO_SQL_ISOLATION_MAP, READ_COMMITTED_ISOLATION_LEVEL, READ_UNCOMMITTED_ISOLATION_LEVEL, REPEATABLE_READ_ISOLATION_LEVEL, SERIALIZABLE_ISOLATION_LEVEL, UNSPECIFIED_ISOLATION_LEVEL
|Constructor and Description|
|Modifier and Type||Method and Description|
Contexts will be passed errors that are caught by the outer system when they are serious enough to require corrective action.
Get the ExecutionFactory from this ExecutionContext.
appendErrorInfo, getContextManager, getIdName, isLastHandler, popMe, pushMe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ExecutionFactory getExecutionFactory()
public void cleanupOnError(java.lang.Throwable error) throws StandardException
Contexts must release all their resources before removing themselves from their context manager.
The context manager will "unwind" the contexts during cleanup in the reverse order they were placed on its global stack.
If error is an instance of StandardException then an implementation of this method may throw a new exception if and only if the new exception is an instance of StandardException that is more severe than the original error or the new exception is a not an instance of StandardException (e.g java.lang.NullPointerException).