If the invokeHandler parameter is set to zero (0), no exception is raised and no exception handler is executed if the lock cannot be obtained. If this parameter is set to a non-zero value, an exception is raised and the corresponding exception handler is invoked.